diff options
Diffstat (limited to 'app/graphql/types/timelog_type.rb')
-rw-r--r-- | app/graphql/types/timelog_type.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/graphql/types/timelog_type.rb b/app/graphql/types/timelog_type.rb index d348fa698fa..c3fb9b77927 100644 --- a/app/graphql/types/timelog_type.rb +++ b/app/graphql/types/timelog_type.rb @@ -6,6 +6,13 @@ module Types authorize :read_issue + expose_permissions Types::PermissionTypes::Timelog + + field :id, + GraphQL::Types::ID, + null: false, + description: 'Internal ID of the timelog.' + field :spent_at, Types::TimeType, null: true, |