summaryrefslogtreecommitdiff
path: root/app/graphql/types/container_repository_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/container_repository_type.rb')
-rw-r--r--app/graphql/types/container_repository_type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/types/container_repository_type.rb b/app/graphql/types/container_repository_type.rb
index 8735f8a173d..48c2b9f460f 100644
--- a/app/graphql/types/container_repository_type.rb
+++ b/app/graphql/types/container_repository_type.rb
@@ -19,7 +19,7 @@ module Types
field :status, Types::ContainerRepositoryStatusEnum, null: true, description: 'Status of the container repository.'
field :tags_count, GraphQL::INT_TYPE, null: false, description: 'Number of tags associated with this image.'
field :can_delete, GraphQL::BOOLEAN_TYPE, null: false, description: 'Can the current user delete the container repository.'
- field :project, Types::ProjectType, null: false, description: 'Project of the container registry'
+ field :project, Types::ProjectType, null: false, description: 'Project of the container registry.'
def can_delete
Ability.allowed?(current_user, :update_container_image, object)