Skip to content

Commit

Permalink
fix: ninja birthday not being rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsp45 committed Dec 14, 2023
1 parent b06fd43 commit 0444df5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/bokken_web/controllers/ninja/ninja_json.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ defmodule BokkenWeb.NinjaJSON do
belt: ninja.belt,
socials: ninja.socials,
since: ninja.inserted_at,
birthday: ninja.birthday,
guardian_id: ninja.guardian_id
}
|> Map.merge(skills(ninja))
Expand Down
1 change: 1 addition & 0 deletions test/bokken_web/controllers/ninja_json_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ defmodule Bokken.NinjaJSONTest do
belt: ninja.belt,
socials: ninja.socials,
since: ninja.inserted_at,
birthday: ninja.birthday,
guardian_id: ninja.guardian_id
}
end
Expand Down

0 comments on commit 0444df5

Please sign in to comment.