Commit 30b6f732 authored by Alan (Maciej) Paruszewski's avatar Alan (Maciej) Paruszewski Committed by charlie ablett

Fix problem that vulnerability list is not loaded

parent 7af7c7dd
......@@ -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