The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Ensure that all DELETE errors not in RQs are handled
Joshen Lim04508e9fe58f
diff --git a/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx b/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsxindex 862050e243a..df83408bb36 100644--- a/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx+++ b/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx@@ -54,7 +54,7 @@ const TeamSettings = () => {try {confirmAlert({title: 'Are you sure?',- message: 'Are you sure you want to leave this team? This is permanent.',+ message: 'Are you sure you want to leave this organization? This is permanent.',onAsyncConfirm: async () => {const response = await delete_(`${API_URL}/organizations/${slug}/members/${profile!.gotrue_id}`@@ -69,7 +69,7 @@ const TeamSettings = () => {} catch (error: any) {ui.setNotification({category: 'error',- message: `Error leaving: ${error?.message}`,+ message: `Failed to leave organization: ${error?.message}`,})} finally {setIsLeaving(false)