From 81397697f35b0f91e943a0f2b60af51ad55c4ea7 Mon Sep 17 00:00:00 2001 From: Katie Kroell Date: Thu, 16 Nov 2023 10:30:04 -0500 Subject: [PATCH] fix registerClaim payload --- src/store/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 11e1c303..ef7afdaa 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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,