Commit 46695c58 authored by charlie ablett's avatar charlie ablett

Merge branch '233017-vulnerability-list-not-loaded' into 'master'

Fix problem that vulnerability list is not loaded

See merge request gitlab-org/gitlab!38867
parents 693925d4 30b6f732
......@@ -9,7 +9,7 @@ module Resolvers
required: false,
description: 'Filter issue links by link type'
delegate :issue_links, to: :object, private: true
delegate :issue_links, :created_issue_links, to: :object, private: true
def resolve(link_type: nil, **)
issue_links_by_link_type(link_type)
......@@ -18,7 +18,7 @@ module Resolvers
private
def issue_links_by_link_type(link_type)
case link_type.to_s
case link_type.to_s.downcase
when Types::Vulnerability::IssueLinkTypeEnum.enum['created']
created_issue_links
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment