Skip to content

Commit

Permalink
Merge pull request #6 from ewarehousing-solutions/fix-cancel-order
Browse files Browse the repository at this point in the history
Hotfix for cancel requests missing a /
  • Loading branch information
Fichtme authored Jan 29, 2024
2 parents 88c98ca + e447ebd commit aa823a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Requests/Inbound/PatchInboundSingleCancelRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PatchInboundSingleCancelRequest extends Request implements HasBody

public function resolveEndpoint(): string
{
return 'wms/inbounds/' . $this->uuid . '/cancel';
return 'wms/inbounds/' . $this->uuid . '/cancel/';
}

public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion src/Requests/Order/PatchOrderSingleCancelRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PatchOrderSingleCancelRequest extends Request implements HasBody

public function resolveEndpoint(): string
{
return 'wms/orders/' . $this->uuid . '/cancel';
return 'wms/orders/' . $this->uuid . '/cancel/';
}

public function __construct(
Expand Down

0 comments on commit aa823a6

Please sign in to comment.