forked from Yara724/api
Centralized damaged parts alongside all their required info
This commit is contained in:
@@ -3985,7 +3985,10 @@ export class ClaimRequestManagementService {
|
||||
...(currentUserParty.person?.clientId
|
||||
? {
|
||||
clientId: new Types.ObjectId(
|
||||
currentUserParty.person.clientId as any,
|
||||
String(blameRequest?.expert?.decision?.guiltyPartyId) ===
|
||||
String(blameRequest?.parties[0]?.person?.userId)
|
||||
? blameRequest?.parties[0]?.person?.clientId
|
||||
: blameRequest?.parties[1]?.person?.clientId,
|
||||
),
|
||||
}
|
||||
: {}),
|
||||
|
||||
Reference in New Issue
Block a user