mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 09:15:44 +03:00
test: util should also not try to use failedBackups
This commit is contained in:
@@ -599,8 +599,8 @@ export const utils = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
resetBackups: async (accessToken: string) => {
|
resetBackups: async (accessToken: string) => {
|
||||||
const { backups, failedBackups } = await listBackups({ headers: asBearerAuth(accessToken) });
|
const { backups } = await listBackups({ headers: asBearerAuth(accessToken) });
|
||||||
for (const filename of [...backups, ...failedBackups]) {
|
for (const filename of backups) {
|
||||||
await deleteBackup({ filename }, { headers: asBearerAuth(accessToken) });
|
await deleteBackup({ filename }, { headers: asBearerAuth(accessToken) });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user