fix: create or overwrite file

This commit is contained in:
izzy
2025-11-25 10:45:18 +00:00
parent 87f34ba505
commit 1cdffeb3be

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) {