diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-01 02:32:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-01 02:32:30 +0300 |
commit | 2f8d8dca22eca9937cee14765ceadc2aee266616 (patch) | |
tree | 1b5142eaedf21ebe5c6911e30e0e99d2833620e0 /app/graphql/mutations/metrics/dashboard/annotations/base.rb | |
parent | 4d243f5ca3709f28f9de96937e3c2ac736deb4bd (diff) |
Add latest changes from gitlab-org/security/gitlab@13-4-stable-ee
Diffstat (limited to 'app/graphql/mutations/metrics/dashboard/annotations/base.rb')
-rw-r--r-- | app/graphql/mutations/metrics/dashboard/annotations/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/mutations/metrics/dashboard/annotations/base.rb b/app/graphql/mutations/metrics/dashboard/annotations/base.rb index 3126267da64..ad52f84378d 100644 --- a/app/graphql/mutations/metrics/dashboard/annotations/base.rb +++ b/app/graphql/mutations/metrics/dashboard/annotations/base.rb @@ -9,7 +9,7 @@ module Mutations # This method is defined here in order to be used by `authorized_find!` in the subclasses. def find_object(id:) - GitlabSchema.object_from_id(id) + GitlabSchema.object_from_id(id, expected_type: ::Metrics::Dashboard::Annotation) end end end |