Skip to content

Commit

Permalink
Merge pull request #100 from gsdkkr/v2.0.x
Browse files Browse the repository at this point in the history
Fix: DeliveryDate missing from request
  • Loading branch information
firstred authored Sep 18, 2024
2 parents dce757d + 15f9da1 commit c306538
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function buildGetSentDateRequest(GetSentDateRequest $getSentDate): Reques

$sentDate = $getSentDate->getGetSentDate();
$query = [
'ShippingDate' => $sentDate->getDeliveryDate(),
'DeliveryDate' => $sentDate->getDeliveryDate()->format('d-m-Y'),
];
$query['CountryCode'] = $sentDate->getCountryCode();
if ($duration = $sentDate->getShippingDuration()) {
Expand Down

0 comments on commit c306538

Please sign in to comment.