mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix: migration errors by testing on a production instance.
This commit is contained in:
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user