fix MR comments
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -56,7 +56,7 @@ class Account < ApplicationRecord
|
||||
Broadcast.where(project: projects),
|
||||
ZoomMeeting.where(project: projects),
|
||||
MedicalRelease.where(project: projects),
|
||||
# MatchingRequest.where(project: projects),
|
||||
MatchingRequest.where(project: projects),
|
||||
self
|
||||
])).sum(:byte_size).to_f
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user