diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 11:18:50 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 11:18:50 +0000 |
commit | 8c7f4e9d5f36cff46365a7f8c4b9c21578c1e781 (patch) | |
tree | a77e7fe7a93de11213032ed4ab1f33a3db51b738 /app/graphql/mutations/issues | |
parent | 00b35af3db1abfe813a778f643dad221aad51fca (diff) | |
download | gitlab-ce-8c7f4e9d5f36cff46365a7f8c4b9c21578c1e781.tar.gz |
Add latest changes from gitlab-org/gitlab@13-1-stable-ee
Diffstat (limited to 'app/graphql/mutations/issues')
-rw-r--r-- | app/graphql/mutations/issues/set_confidential.rb | 2 | ||||
-rw-r--r-- | app/graphql/mutations/issues/set_due_date.rb | 2 | ||||
-rw-r--r-- | app/graphql/mutations/issues/update.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/mutations/issues/set_confidential.rb b/app/graphql/mutations/issues/set_confidential.rb index 0fff5518665..75befddc261 100644 --- a/app/graphql/mutations/issues/set_confidential.rb +++ b/app/graphql/mutations/issues/set_confidential.rb @@ -19,7 +19,7 @@ module Mutations { issue: issue, - errors: issue.errors.full_messages + errors: errors_on_object(issue) } end end diff --git a/app/graphql/mutations/issues/set_due_date.rb b/app/graphql/mutations/issues/set_due_date.rb index 1855c6f053b..effd863c541 100644 --- a/app/graphql/mutations/issues/set_due_date.rb +++ b/app/graphql/mutations/issues/set_due_date.rb @@ -19,7 +19,7 @@ module Mutations { issue: issue, - errors: issue.errors.full_messages + errors: errors_on_object(issue) } end end diff --git a/app/graphql/mutations/issues/update.rb b/app/graphql/mutations/issues/update.rb index 3710144fff5..7f6d9b0f988 100644 --- a/app/graphql/mutations/issues/update.rb +++ b/app/graphql/mutations/issues/update.rb @@ -33,7 +33,7 @@ module Mutations { issue: issue, - errors: issue.errors.full_messages + errors: errors_on_object(issue) } end end |