Merge pull request #503 from Safelite/feature/SSR-669

updates to registerClaim payload
This commit is contained in:
katiekroell 2023-11-16 10:40:51 -05:00 committed by GitHub
commit 6d65ef8e1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,