The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: Fix the sample code for sending FCM from Supabase edge functions (#21039)
Tyler1b1180c8bbab
diff --git a/apps/docs/pages/guides/functions/examples/push-notifications.mdx b/apps/docs/pages/guides/functions/examples/push-notifications.mdxindex b3493abe49f..eecf409eaec 100644--- a/apps/docs/pages/guides/functions/examples/push-notifications.mdx+++ b/apps/docs/pages/guides/functions/examples/push-notifications.mdx@@ -189,7 +189,7 @@ Push notifications are an important part of any mobile app. They allow you to seconst { data } = await supabase.from('profiles').select('fcm_token')- .eq('id', payload.record.profile_id)+ .eq('id', payload.record.user_id).single()const fcmToken = data!.fcm_token as string