Skip to content

Commit

Permalink
[identity] fix user metadata edition
Browse files Browse the repository at this point in the history
  • Loading branch information
patatoid committed Nov 17, 2024
1 parent 0605b09 commit 2515622
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ defmodule BorutaIdentity.Accounts.User do
_ -> false
end)
|> Enum.map(fn
{_key, value} when is_map(value) -> value
{key, value} ->
{key, %{"value" => value, "status" => "valid"}}
# TODO default display
{key, %{"value" => value, "status" => "valid", "display" => []}}
end)
|> Enum.into(%{})
end
Expand Down

0 comments on commit 2515622

Please sign in to comment.