summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/boards/lists/update.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/boards/lists/update.rb')
-rw-r--r--app/graphql/mutations/boards/lists/update.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/graphql/mutations/boards/lists/update.rb b/app/graphql/mutations/boards/lists/update.rb
index d30d1d89bb2..504082ec22c 100644
--- a/app/graphql/mutations/boards/lists/update.rb
+++ b/app/graphql/mutations/boards/lists/update.rb
@@ -17,7 +17,7 @@ module Mutations
argument :collapsed, GraphQL::BOOLEAN_TYPE,
required: false,
- description: 'Indicates if list is collapsed for this user.'
+ description: 'Indicates if the list is collapsed for this user.'
field :list,
Types::BoardListType,
@@ -44,7 +44,7 @@ module Mutations
def can_read_list?(list)
return false unless list.present?
- Ability.allowed?(current_user, :read_list, list.board)
+ Ability.allowed?(current_user, :read_issue_board_list, list.board)
end
end
end