Skip to content

Commit

Permalink
Please work this time
Browse files Browse the repository at this point in the history
  • Loading branch information
L-e-x-o-n committed Jun 4, 2024
1 parent f0ec394 commit 4a9d362
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/teiserver_web/controllers/api/spads_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ defmodule TeiserverWeb.API.SpadsController do
end
end

def get_member_of_lobby_host_ip(nil), do: nil
defp get_member_lobby(nil), do: nil

@spec get_member_lobby(non_neg_integer()) :: T.lobby() | nil
defp get_member_lobby(userid) do
Expand All @@ -216,7 +216,7 @@ defmodule TeiserverWeb.API.SpadsController do
nil

client ->
Battle.get_lobby(client)
Battle.get_lobby(client.lobby_id)
end
end

Expand Down

0 comments on commit 4a9d362

Please sign in to comment.