The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix wrong await statement
Joshen Lima1b99b8b130f
diff --git a/studio/components/interfaces/Auth/RedirectDomains/RedirectDomains.tsx b/studio/components/interfaces/Auth/RedirectDomains/RedirectDomains.tsxindex f8f3f3c4596..621fd3f2241 100644--- a/studio/components/interfaces/Auth/RedirectDomains/RedirectDomains.tsx+++ b/studio/components/interfaces/Auth/RedirectDomains/RedirectDomains.tsx@@ -27,9 +27,9 @@ const RedirectDomains = () => {setSubmitting(true)try {const payload = URI_ALLOW_LIST_ARRAY- await payload.push(values.domain)+ payload.push(values.domain)// convert payload to comma seperated string and update- authConfig.update({ URI_ALLOW_LIST: payload.toString() })+ await authConfig.update({ URI_ALLOW_LIST: payload.toString() })setSubmitting(false)setOpen(false)ui.setNotification({ category: 'success', message: 'Successfully added domain' })