Skip to content

Commit f35bb56

Browse files
Fixed missing vehicle ID in get inspection response (#894)
1 parent 9f82ac8 commit f35bb56

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/network/src/api/inspection/mappers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ export function mapApiInspectionGet(
489489
severityResultIds,
490490
taskIds,
491491
pricingIds,
492+
vehicleId: vehicle?.id,
492493
});
493494

494495
return {

packages/network/test/api/inspection/data/apiInspectionGet.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export default {
216216
'f3ce86b5-d3a8-27dc-f3a4-24cad48e0b9b',
217217
'89216d57-0d6d-dd29-894b-cf280a4bf16e',
218218
],
219-
vehicle: undefined,
219+
vehicle: '051b7118-915f-4bec-0571-d367967967ab',
220220
images: [
221221
'6a5e9a4c-8752-c1e6-6a34-38338074eda1',
222222
'a842f4bf-5404-215b-a828-56c053220d1c',

0 commit comments

Comments
 (0)