Skip to content

Commit 02601b4

Browse files
authored
lowercase delivery_accuracy (#194)
1 parent e9a33d2 commit 02601b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/EasyPost/Shipment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public function lowest_rate($carriers = [], $services = [])
249249
public function lowest_smartrate($delivery_days, $delivery_accuracy)
250250
{
251251
$smartrates = $this->get_smartrates();
252-
$lowest_rate = $this->get_lowest_smartrate($smartrates, $delivery_days, $delivery_accuracy);
252+
$lowest_rate = $this->get_lowest_smartrate($smartrates, $delivery_days, strtolower($delivery_accuracy));
253253

254254
return $lowest_rate;
255255
}

0 commit comments

Comments
 (0)