Skip to content

Commit

Permalink
fix: wrong hit on cost (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
dinorain authored Jun 6, 2022
1 parent ce00009 commit 8c831a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RajaOngkir.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function getSubdistrict(): mixed
*/
public function getCost(int $origin, string $originType, int $destination, string $destinationType, int $weight, string $courier): mixed
{
return $this->apiCall('/subdistrict', [
return $this->apiCall('/cost', [
"origin" => $origin,
"originType" => $originType,
"destination" => $destination,
Expand Down

0 comments on commit 8c831a6

Please sign in to comment.