The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Enforce refresh upon creating a new org
Joshen Lim018c48897e78
diff --git a/studio/pages/new/index.tsx b/studio/pages/new/index.tsxindex d9fdb6526a4..e095e1b1648 100644--- a/studio/pages/new/index.tsx+++ b/studio/pages/new/index.tsx@@ -49,7 +49,11 @@ const Wizard = () => {} else {const org = responseapp.onOrgAdded(org)- Router.push('/new/[slug]', `/new/${org.slug}`)++ // Router.push('/new/[slug]', `/new/${org.slug}`)+ // Using window.location.href for now as organization metadata needs to refresh+ // We do not get is_owner nor stripe_customer_id from the response here+ window.location.href = `/new/${org.slug}`}}