Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Small fix

Joshen Limd9ea92102ff0
diff --git a/studio/data/network-restrictions/network-restrictions-query.ts b/studio/data/network-restrictions/network-restrictions-query.ts
index 0cfc7ec1620..727148372cd 100644
--- a/studio/data/network-restrictions/network-restrictions-query.ts
+++ b/studio/data/network-restrictions/network-restrictions-query.ts
@@ -30,7 +30,7 @@ export async function getNetworkRestrictions(
(response.error as any)?.code === 400 &&
(response.error as any)?.message?.includes('to be updated')
- if (isNowAllowedError) {
+ if (isNotAllowedError) {
return {}
} else {
throw response.error