Skip to content

Commit 3ff9e52

Browse files
Minor change to user.ex
This change is to fit the testing format.
1 parent a47cbab commit 3ff9e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cadet/accounts/user.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ defmodule Cadet.Accounts.User do
1414
field(:name, :string)
1515
field(:role, Role)
1616
field(:nusnet_id, :string)
17-
field(:game_states, :map)
17+
field(:game_states, :map, default: %{"collectibles" => %{}, "completed_quests" => []})
1818
belongs_to(:group, Group)
1919
timestamps()
2020
end

0 commit comments

Comments
 (0)