Small fix

This commit is contained in:
Joshen Lim committed 2023-02-01 14:37:36 +08:00
1 parent 37c90cbf20
commit d9ea92102f
1 file changed
+1 -1
@@ -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