Skip to content

Commit

Permalink
Remove nil from other-related
Browse files Browse the repository at this point in the history
  • Loading branch information
bklaing2 committed Dec 13, 2023
1 parent 6d7767e commit 1f01e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/types/doi_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def other_related_count
def get_other_related_ids(_doi)
Event.events_involving(_doi).map do |e|
e.doi
end.flatten.uniq - [_doi.downcase]
end.flatten.uniq - [_doi.downcase, nil]
end


Expand Down

0 comments on commit 1f01e38

Please sign in to comment.