diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-27 21:09:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-27 21:09:16 +0000 |
commit | 3bb92fbffddccedec5f03b4ea31c025ef745c345 (patch) | |
tree | 58b05be5b5790c1f9befd71a5f70ba4f484a4a84 /app/graphql/mutations | |
parent | 03fbe61813666e96cd9b2dec9a22ab39f358f542 (diff) | |
download | gitlab-ce-3bb92fbffddccedec5f03b4ea31c025ef745c345.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/mutations')
-rw-r--r-- | app/graphql/mutations/issues/update.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/graphql/mutations/issues/update.rb b/app/graphql/mutations/issues/update.rb index 7f6d9b0f988..b99a9070466 100644 --- a/app/graphql/mutations/issues/update.rb +++ b/app/graphql/mutations/issues/update.rb @@ -25,6 +25,12 @@ module Mutations required: false, description: copy_field_description(Types::IssueType, :confidential) + argument :locked, + GraphQL::BOOLEAN_TYPE, + as: :discussion_locked, + required: false, + description: copy_field_description(Types::IssueType, :discussion_locked) + def resolve(project_path:, iid:, **args) issue = authorized_find!(project_path: project_path, iid: iid) project = issue.project |