diff --git a/apps/boruta_identity/lib/boruta_identity/accounts/schemas/user.ex b/apps/boruta_identity/lib/boruta_identity/accounts/schemas/user.ex index 3cd5fc0b..4c6bc605 100644 --- a/apps/boruta_identity/lib/boruta_identity/accounts/schemas/user.ex +++ b/apps/boruta_identity/lib/boruta_identity/accounts/schemas/user.ex @@ -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