diff options
Diffstat (limited to 'app/graphql/types/access_level_type.rb')
-rw-r--r-- | app/graphql/types/access_level_type.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/graphql/types/access_level_type.rb b/app/graphql/types/access_level_type.rb index 2d97f6b30e8..4a709aa4711 100644 --- a/app/graphql/types/access_level_type.rb +++ b/app/graphql/types/access_level_type.rb @@ -7,11 +7,11 @@ module Types description 'Represents the access level of a relationship between a User and object that it is related to' field :integer_value, GraphQL::Types::Int, null: true, - description: 'Integer representation of access level.', - method: :to_i + description: 'Integer representation of access level.', + method: :to_i field :string_value, Types::AccessLevelEnum, null: true, - description: 'String representation of access level.', - method: :to_i + description: 'String representation of access level.', + method: :to_i end end |