Skip to content

Commit

Permalink
Merge pull request #194 from supabase/fix/client-access-token
Browse files Browse the repository at this point in the history
fix: handle incoming access_token message from client
  • Loading branch information
w3b6x9 authored Nov 20, 2021
2 parents 10efe6a + c2ff69e commit 0ad9dd2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/lib/realtime_web/channels/realtime_channel.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@ defmodule RealtimeWeb.RealtimeChannel do
Realtime.Metrics.SocketMonitor.track_channel(socket)
{:noreply, socket}
end

def handle_in("access_token", _, socket) do
{:noreply, socket}
end
end

0 comments on commit 0ad9dd2

Please sign in to comment.