Skip to content

Commit

Permalink
Merge pull request #1 from mageworx/compatibility_with_new_dd
Browse files Browse the repository at this point in the history
Compatibility with address conditions in Delivery Date
  • Loading branch information
SiarheyUchukhlebau authored Mar 16, 2023
2 parents 3180a92 + 922798f commit 857a84a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Model/Resolver/SetDeliveryDateOnCart.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function resolve(Field $field, $context, ResolveInfo $info, array $value

$deliveryDateDataObject = $this->createDeliveryDateDataObjectFromArray($deliveryDateData);
try {
$this->queueManager->setDeliveryDateForGuestCart($maskedCartId, $deliveryDateDataObject);
$this->queueManager->setDeliveryDateForGuestCart($maskedCartId, $deliveryDateDataObject, null);
} catch (QueueException|LocalizedException $e) {
throw new GraphQlNoSuchEntityException(__($e->getMessage()));
}
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "mageworx/module-deliverydate-graph-ql",
"description": "Graph QL Addon for MageWorx Delivery Date Extension",
"require": {
"mageworx/module-deliverydate": ">=1.16.2",
"mageworx/module-deliverydate": ">=1.19",
"magento/framework": ">=103",
"magento/module-graph-ql": ">=100"
},
"type": "magento2-module",
"version": "1.0.0",
"version": "1.1.0",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down

0 comments on commit 857a84a

Please sign in to comment.