Skip to content

Commit 57e6bec

Browse files
authored
Fixed damage_severity => output_format : toyota to default (#909)
* Fixed damage_severity => output_format : toyota to default * Disabled CAPTURE_SELECTION page on Demo-app
1 parent 6426efb commit 57e6bec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/demo-app/src/pages/VehicleTypeSelectionPage/VehicleTypeSelectionPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function VehicleTypeSelectionPage() {
1212
const { i18n } = useTranslation();
1313

1414
if (vehicleType || !config.allowVehicleTypeSelection) {
15-
return <Navigate to={Page.CAPTURE_SELECTION} replace />;
15+
return <Navigate to={Page.PHOTO_CAPTURE} replace />;
1616
}
1717

1818
return (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ export function mapApiInspectionPost(options: CreateInspectionOptions): ApiInspe
649649
additional_data: options.vehicle.additionalData,
650650
}
651651
: undefined,
652-
damage_severity: options.enablePricingV1 === false ? undefined : { output_format: 'toyota' },
652+
damage_severity: options.enablePricingV1 === false ? undefined : { output_format: 'default' },
653653
additional_data: {
654654
user_agent: navigator.userAgent,
655655
connection: navigator.connection,

packages/network/test/api/inspection/data/apiInspectionPost.data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
}
5555
},
5656
"damage_severity": {
57-
"output_format": "toyota"
57+
"output_format": "default"
5858
},
5959
"additional_data": {
6060
"damage_detection_version": "v2",

0 commit comments

Comments
 (0)