Skip to content

Commit 59573f4

Browse files
committed
Fix bug
1 parent 3a2efff commit 59573f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/codebattle/lib/codebattle/tournament/storage

apps/codebattle/lib/codebattle/tournament/storage/clans.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule Codebattle.Tournament.Storage.Clans do
2525
end
2626

2727
def get_clan(tournament, clan_id) do
28-
:ets.lookup_element(tournament.clans_table, clan_id, 3)
28+
:ets.lookup_element(tournament.clans_table, clan_id, 2)
2929
rescue
3030
_e ->
3131
nil

0 commit comments

Comments
 (0)