Skip to content

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

fix: `url` type

Beng Eudcb028071b8d
diff --git a/studio/pages/project/[ref]/api/index.tsx b/studio/pages/project/[ref]/api/index.tsx
index 15b9e75976d..c6c2895b69e 100644
--- a/studio/pages/project/[ref]/api/index.tsx
+++ b/studio/pages/project/[ref]/api/index.tsx
@@ -82,7 +82,7 @@ const DocView: FC<any> = observer(({}) => {
const { data: jsonSchema, error: jsonSchemaError } = useSWR(
() => swaggerUrl,
- (url) => get(url, { headers, credentials: 'omit' }).then((res) => res)
+ (url: string) => get(url, { headers, credentials: 'omit' }).then((res) => res)
)
useEffect(() => {