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:
parent
375be4711c
commit
4ffc61f075
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user