The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
ref: Remove redundant payload for backup download (#34541)
Kamil Ogórekb06e0aa0cdc2
diff --git a/apps/studio/data/database/backup-download-mutation.ts b/apps/studio/data/database/backup-download-mutation.tsindex e8096f0225a..c7ea1601982 100644--- a/apps/studio/data/database/backup-download-mutation.ts+++ b/apps/studio/data/database/backup-download-mutation.ts@@ -13,14 +13,9 @@ export type BackupDownloadVariables = {export async function downloadBackup({ ref, backup }: BackupDownloadVariables) {const { data, error } = await post('/platform/database/{ref}/backups/download', {params: { path: { ref } },+ // @ts-ignore TODO(kamil): Remove ts-ignore once `DownloadBackupBody` changes landsbody: {- id: backup.id, // this is the only one needed actually- inserted_at: backup.inserted_at,- project_id: backup.project_id,- data: {},- s3_bucket: 'deprecated',- s3_path: 'deprecated',- status: 'deprecated',+ id: backup.id,},})if (error) handleError(error)