1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

Fix a couple of warnings

This commit is contained in:
Daniel Barber 2018-03-11 23:34:11 -04:00
parent 375be4711c
commit 4ffc61f075
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -7,10 +7,8 @@ defmodule ChessWeb.GameChannel do
alias Chess.Board
alias Chess.Moves
import Chess.Auth, only: [current_user: 1]
def join("game:" <> game_id, _params, socket) do
send(self, {:after_join, game_id})
send(self(), {:after_join, game_id})
{:ok, assign(socket, :game_id, game_id)}
end