fix registerClaim payload

This commit is contained in:
Katie Kroell 2023-11-16 10:30:04 -05:00
parent 6667fdce77
commit 81397697f3

View file

@ -476,7 +476,7 @@ export const useMainStore = defineStore({
safelitePolicy: {
policies: []
},
actualDeductible: this.order.currentDeductible
actualDeductible: this.order.currentDeductible?.toString() ?? ''
},
lossInfo: {
dateOfLoss: this.order.policy.dateOfLoss,
@ -486,7 +486,7 @@ export const useMainStore = defineStore({
country: 'US' // TODO set from store
},
vehicle: {
id: this.order.vehicle.id?.toString() ?? '',
id: this.order.vehicle.carId?.toString() ?? '',
year: this.order.vehicle.year?.toString() ?? '',
make: this.order.vehicle.make,
model: this.order.vehicle.model,