Skip to content

Commit

Permalink
Refactor UserSocket
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaslong authored and Oliver Azevedo Barnes committed Jun 29, 2020
1 parent 944fc7f commit 4c5b69a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/liquid_voting_web/channels/user_socket.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ defmodule LiquidVotingWeb.UserSocket do
#
# See `Phoenix.Token` documentation for examples in
# performing token verification on connect.
def connect(_params, socket, _connect_info) do
{:ok, socket}
end
def connect(_params, socket, _connect_info), do: {:ok, socket}

# Socket id's are topics that allow you to identify all sockets for a given user:
#
Expand Down

0 comments on commit 4c5b69a

Please sign in to comment.