The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: api response used to generate types file in self-hosted studio
Inder Singh94ed2d1d3b0d
diff --git a/apps/studio/pages/api/v1/projects/[ref]/types/typescript.ts b/apps/studio/pages/api/v1/projects/[ref]/types/typescript.tsindex 789b1651bd5..fc0120fc98f 100644--- a/apps/studio/pages/api/v1/projects/[ref]/types/typescript.ts+++ b/apps/studio/pages/api/v1/projects/[ref]/types/typescript.ts@@ -29,5 +29,5 @@ const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {return res.status(response.code ?? 500).json({ message: response.message })}- return res.status(200).json(response)+ return res.status(200).json({ types: response })}