mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 17:25:35 +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) => {
|
||||
const { backups, failedBackups } = await listBackups({ headers: asBearerAuth(accessToken) });
|
||||
for (const filename of [...backups, ...failedBackups]) {
|
||||
const { backups } = await listBackups({ headers: asBearerAuth(accessToken) });
|
||||
for (const filename of backups) {
|
||||
await deleteBackup({ filename }, { headers: asBearerAuth(accessToken) });
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user