Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Release Tools Bot <delivery-team+release-tools@gitlab.com>2020-10-01 20:11:57 +0300
committerGitLab Release Tools Bot <delivery-team+release-tools@gitlab.com>2020-10-01 20:11:57 +0300
commitd5cc1255b64367c04f208150dbafa0be7b50dc45 (patch)
treede52cd1ea513079768947ba3a96c5d10545b3006 /app/graphql
parentc90be62bdefdb6bb67c73a9c4a6d164c9f78a28d (diff)
parentb08b36dccc3857641fe4e170b11c30cfb47c49e1 (diff)
Merge remote-tracking branch 'dev/13-4-stable' into 13-4-stable
Diffstat (limited to 'app/graphql')
-rw-r--r--app/graphql/mutations/metrics/dashboard/annotations/base.rb2
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