fix: create or overwrite file

This commit is contained in:
izzy 2025-11-25 10:45:18 +00:00
parent 87f34ba505
commit 1cdffeb3be
No known key found for this signature in database
GPG Key ID: 5059F398521BB0F6

View File

@ -291,7 +291,7 @@ export async function uploadBackup(
}
const path = join(backupsFolder, `uploaded-${fn}`);
await storage.overwriteFile(path, file.buffer);
await storage.createOrOverwriteFile(path, file.buffer);
}
function createSqlProgressStreams(cb: (progress: number) => void) {