diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml index 1e15bc95b8d81..f9de73a58a2ce 100644 --- a/apps/docs/spec/supabase_js_v2.yml +++ b/apps/docs/spec/supabase_js_v2.yml @@ -7375,12 +7375,7 @@ functions: ```js supabase .channel('room1') - .send({ - type: 'broadcast', - event: 'cursor-pos', - payload: { x: Math.random(), y: Math.random() - }, - }) + .httpSend('cursor-pos', { x: Math.random(), y: Math.random() }) ``` - id: get-channels title: getChannels()