Skip to content

Commit

Permalink
Fixed a bug causing the usePricingV2 to not be enabled properly (#849)
Browse files Browse the repository at this point in the history
  • Loading branch information
souyahia-monk authored Sep 17, 2024
1 parent 268e49e commit 54bead7
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -495,7 +495,7 @@ export function mapApiInspectionPost(options: CreateInspectionOptions): ApiInspe
tasks: getTasksOptions(options),
vehicle: options.vehicleType ? { vehicle_type: options.vehicleType } : undefined,
damage_severity: { output_format: 'toyota' },
pricing: options.useDynamicCrops ? { output_format: 'toyota' } : undefined,
pricing: options.usePricingV2 ? { output_format: 'toyota' } : undefined,
additional_data: {
user_agent: navigator.userAgent,
connection: navigator.connection,
Expand Down

0 comments on commit 54bead7

Please sign in to comment.