We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 794a615 commit 7e6ef7aCopy full SHA for 7e6ef7a
1 file changed
app/graphql/types/user_type.rb
@@ -10,7 +10,9 @@ class UserType < Types::BaseObject
10
11
field :admin, Boolean, null: false, description: 'Global admin status of the user'
12
field :email, String, null: false, description: 'Email of the user', authorize: :read_email
13
- field :email_verified_at, Types::TimeType, null: true, description: 'Email verification date of the user if present'
+ field :email_verified_at, Types::TimeType, null: true,
14
+ description: 'Email verification date of the user if present',
15
+ authorize: :read_email
16
field :firstname, String, null: true, description: 'Firstname of the user'
17
field :lastname, String, null: true, description: 'Lastname of the user'
18
field :username, String, null: false, description: 'Username of the user'
0 commit comments