mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Fix wrong await statement
This commit is contained in:
1 parent
97c3f50e4f
commit
a1b99b8b13
1 file changed
+2
-2
@@ -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' })
|
||||
|
||||
Reference in new issue
Block a user