Skip to content

Commit 54bead7

Browse files
Fixed a bug causing the usePricingV2 to not be enabled properly (#849)
1 parent 268e49e commit 54bead7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ export function mapApiInspectionPost(options: CreateInspectionOptions): ApiInspe
495495
tasks: getTasksOptions(options),
496496
vehicle: options.vehicleType ? { vehicle_type: options.vehicleType } : undefined,
497497
damage_severity: { output_format: 'toyota' },
498-
pricing: options.useDynamicCrops ? { output_format: 'toyota' } : undefined,
498+
pricing: options.usePricingV2 ? { output_format: 'toyota' } : undefined,
499499
additional_data: {
500500
user_agent: navigator.userAgent,
501501
connection: navigator.connection,

0 commit comments

Comments
 (0)