Skip to content

Commit

Permalink
Added is admin field
Browse files Browse the repository at this point in the history
  • Loading branch information
maykonmichel committed Mar 4, 2020
1 parent 52a3754 commit b1ee9ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ez_coins_api_web/schema/user_type.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defmodule EzCoinsApiWeb.Schema.Types.UserType do
field(:avatar, :string)
field(:hired_at, :string)
field(:resigned_at, :string)
field(:is_admin, :boolean)
field(:wallet, :wallet_type, resolve: &UserResolver.wallet/3)
end

Expand Down

0 comments on commit b1ee9ed

Please sign in to comment.