Skip to content

Commit

Permalink
Fixed damage_severity => output_format : toyota to default (#909)
Browse files Browse the repository at this point in the history
* Fixed damage_severity => output_format : toyota to default

* Disabled CAPTURE_SELECTION page on Demo-app
  • Loading branch information
dlymonkai authored Feb 6, 2025
1 parent 6426efb commit 57e6bec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function VehicleTypeSelectionPage() {
const { i18n } = useTranslation();

if (vehicleType || !config.allowVehicleTypeSelection) {
return <Navigate to={Page.CAPTURE_SELECTION} replace />;
return <Navigate to={Page.PHOTO_CAPTURE} replace />;
}

return (
Expand Down
2 changes: 1 addition & 1 deletion packages/network/src/api/inspection/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ export function mapApiInspectionPost(options: CreateInspectionOptions): ApiInspe
additional_data: options.vehicle.additionalData,
}
: undefined,
damage_severity: options.enablePricingV1 === false ? undefined : { output_format: 'toyota' },
damage_severity: options.enablePricingV1 === false ? undefined : { output_format: 'default' },
additional_data: {
user_agent: navigator.userAgent,
connection: navigator.connection,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}
},
"damage_severity": {
"output_format": "toyota"
"output_format": "default"
},
"additional_data": {
"damage_detection_version": "v2",
Expand Down

0 comments on commit 57e6bec

Please sign in to comment.