Skip to content

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

fix auto generated docs

Iniancd1ac62e8498
diff --git a/studio/pages/project/[ref]/api/index.tsx b/studio/pages/project/[ref]/api/index.tsx
index 49d594eb92c..77a220bb8e1 100644
--- a/studio/pages/project/[ref]/api/index.tsx
+++ b/studio/pages/project/[ref]/api/index.tsx
@@ -78,7 +78,7 @@ const DocView: FC<any> = observer(({}) => {
const swaggerUrl = data?.autoApiService?.restUrl
const headers: any = { apikey: API_KEY }
- if (API_KEY?.length > 40) headers['authorization'] = `Bearer ${API_KEY}`
+ if (API_KEY?.length > 40) headers['Authorization'] = `Bearer ${API_KEY}`
const { data: jsonSchema, error: jsonSchemaError } = useSWR(
() => swaggerUrl,