The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Revert "Port POST project transfer from platform to v2" (#52140)
Joshen Lim1818b713b981
diff --git a/apps/studio/data/projects/project-transfer-mutation.ts b/apps/studio/data/projects/project-transfer-mutation.tsindex c70771337ed..4f8ebf62467 100644--- a/apps/studio/data/projects/project-transfer-mutation.ts+++ b/apps/studio/data/projects/project-transfer-mutation.ts@@ -18,14 +18,13 @@ export async function transferProject({if (!projectRef) throw new Error('projectRef is required')if (!targetOrganizationSlug) throw new Error('targetOrganizationSlug is required')- const { data, error } = await post('/v2/projects/{ref}/transfers', {+ const payload: { target_organization_slug: string } = {+ target_organization_slug: targetOrganizationSlug,+ }++ const { data, error } = await post('/platform/projects/{ref}/transfer', {params: { path: { ref: projectRef } },- body: {- data: {- type: 'project_transfer_input',- attributes: { target_organization_slug: targetOrganizationSlug },- },- },+ body: payload,})if (error) handleError(error)return data