File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ patch.estimates.createFlightEstimate({ distance_m: distance_m });
112
112
// Create a shipping estimate
113
113
const distance_m = 9000000 ;
114
114
// Pass in the shipping distance in meters, the transportation method, and the package mass
115
- patch .estimates .createFlightEstimate ({
115
+ patch .estimates .createShippingEstimate ({
116
116
distance_m: distance_m,
117
117
transportation_method: ' air' ,
118
118
package_mass_g: 1000
@@ -121,7 +121,7 @@ patch.estimates.createFlightEstimate({
121
121
// Create a vehicle estimate
122
122
const distance_m = 9000000 ;
123
123
// Pass in the shipping distance in meters and the model/make/year of the vehicle
124
- patch .estimates .createFlightEstimate ({
124
+ patch .estimates .createVehicleEstimate ({
125
125
distance_m: distance_m,
126
126
make: ' Toyota' ,
127
127
model: ' Corolla' ,
You can’t perform that action at this time.
0 commit comments