fix: migration errors by testing on a production instance.

This commit is contained in:
charlesgauthereau
2026-01-18 14:10:35 +01:00
parent 3d695709d5
commit 8ee44ffea1
13 changed files with 2417 additions and 93 deletions
@@ -93,7 +93,7 @@ export const BackupActionsForm = ({backup, action}: BackupActionsFormProps) => {
toast.success("Backup deleted successfully.")
closeModal()
} else {
toast.error(inner?.actionError?.message);
toast.error(inner?.actionError?.message ?? "An error occurred.");
}
}
},
@@ -53,10 +53,12 @@ export const downloadBackupAction = userAction.schema(
},
};
const result = await dispatchStorage(input, undefined, backupStorage.storageChannelId);
console.log(input)
const result = await dispatchStorage(input, undefined, backupStorage.storageChannelId);
console.log(result);
return {
success: true,
success: result.success,
value: result.url,
actionSuccess: {
message: "Backup Storage downloaded successfully.",