Skip to content

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

fix(docs): replace {} with JSON.stringify({}) in custom send-sms edge function (#33794)

Abu Huraira7b7fd2894707
diff --git a/apps/docs/content/guides/auth/auth-hooks/send-sms-hook.mdx b/apps/docs/content/guides/auth/auth-hooks/send-sms-hook.mdx
index 6a0a06a76d8..ba2ed1a1b08 100644
--- a/apps/docs/content/guides/auth/auth-hooks/send-sms-hook.mdx
+++ b/apps/docs/content/guides/auth/auth-hooks/send-sms-hook.mdx
@@ -494,7 +494,7 @@ Deno.serve(async (req) => {
)
}
return new Response(
- {},
+ JSON.stringify({}),
{
status: 200,
headers: {