forked from Yara724/api
Fixed VIN placement for when the users use vin-based inquiry
This commit is contained in:
@@ -501,6 +501,9 @@ export class InquiryRefreshService {
|
||||
if (memParty.vehicle?.plateId !== undefined) {
|
||||
party.vehicle.plateId = memParty.vehicle.plateId;
|
||||
}
|
||||
if (memParty.vehicle?.vin !== undefined) {
|
||||
party.vehicle.vin = memParty.vehicle.vin;
|
||||
}
|
||||
blameDoc.markModified(`parties.${docIdx}.vehicle`);
|
||||
|
||||
if (memParty.insurance) {
|
||||
|
||||
Reference in New Issue
Block a user