The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: missing async keyword in example
Lakshan Pereraa9d3ec070870
diff --git a/examples/edge-functions/supabase/functions/oak-server/index.ts b/examples/edge-functions/supabase/functions/oak-server/index.tsindex 8e96d1f0033..3f9f192f3ca 100644--- a/examples/edge-functions/supabase/functions/oak-server/index.ts+++ b/examples/edge-functions/supabase/functions/oak-server/index.ts@@ -6,7 +6,7 @@ router.get('/oak-server', (context) => {context.response.body = 'This is an example Oak server running on Edge Functions!'})- .post('/oak-server/greet', (context) => {+ .post('/oak-server/greet', async (context) => {// Note: request body will be streamed to the function as chunks, set limit to 0 to fully read it.const result = context.request.body({ type: 'json', limit: 0 })const body = await result.value