Skip to content

Commit

Permalink
CV2-4908: fix sentry issue (#1955)
Browse files Browse the repository at this point in the history
  • Loading branch information
melsawy authored Jul 15, 2024
1 parent f40a9b3 commit 03f3f1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/concerns/alegre_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ def get_target_field(project_media, field)
end

def parse_similarity_results(project_media, field, results, relationship_type)
results ||= []
Hash[results.collect{|result|
result["context"] = isolate_relevant_context(project_media, result)
[
Expand Down

0 comments on commit 03f3f1d

Please sign in to comment.