Skip to content

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

Fix variable name in self-send messages (#37382)

Plaetoriusd80e09474aec
diff --git a/apps/docs/content/guides/realtime/broadcast.mdx b/apps/docs/content/guides/realtime/broadcast.mdx
index 9744ed57e37..38eb434e251 100644
--- a/apps/docs/content/guides/realtime/broadcast.mdx
+++ b/apps/docs/content/guides/realtime/broadcast.mdx
@@ -469,7 +469,7 @@ You can pass configuration options while initializing the Supabase Client.
myChannel.subscribe((status) => {
if (status !== 'SUBSCRIBED') { return }
- channelC.send({
+ myChannel.send({
type: 'broadcast',
event: 'test-my-messages',
payload: { message: 'talking to myself' },