fix MR comments

This commit is contained in:
bilal
2020-06-16 08:51:54 +02:00
parent 3650d6022c
commit 2238338710
5 changed files with 5 additions and 77 deletions

View File

@@ -22,8 +22,8 @@ class MatchAppearanceReleasesJob < ApplicationJob
def handle_matches(matches, project, key_signed_id_hash)
matches.each do |match|
contract_key = match.contracts.blank? ? nil : match.contracts.first
headshot_key = match.headshots.blank? ? nil : match.headshots.first
contract_key = Array.wrap(match.contracts).first
headshot_key = Array.wrap(match.headshots).first
identifier = match.identifier
contract = key_signed_id_hash[contract_key]