mirror of
https://github.com/immich-app/immich.git
synced 2026-01-22 19:59:09 -05:00
test: util should also not try to use failedBackups
This commit is contained in:
parent
fdacf0ec57
commit
6cefb9ca95
@ -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) });
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user