From 0fe7a1cebf02472683783716fba0e5c5a6740870 Mon Sep 17 00:00:00 2001 From: Siarhey Uchukhlebau Date: Wed, 15 Mar 2023 11:37:18 +0300 Subject: [PATCH] Add address argument as null --- Model/Resolver/SetDeliveryDateOnCart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/Resolver/SetDeliveryDateOnCart.php b/Model/Resolver/SetDeliveryDateOnCart.php index 13e205d..910f8a4 100644 --- a/Model/Resolver/SetDeliveryDateOnCart.php +++ b/Model/Resolver/SetDeliveryDateOnCart.php @@ -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())); }