From ddc38853f82b33c72913656888665c92c09c8e69 Mon Sep 17 00:00:00 2001 From: Jonathan Morel Date: Fri, 8 Apr 2022 15:35:20 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 1b2f978..e3ecc37 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # iaphub-bundle + +A project initiated by [EmprunteMonToutou](https://github.com/empruntemontoutou) + ## An Iaphub integration for symfony application for receive webhooks and manage Iaphub API _https://www.iaphub_ From d6fbcbb238dabbde2acc7146c251b1b21ed3c459 Mon Sep 17 00:00:00 2001 From: Jonathan Morel Date: Tue, 17 Jan 2023 16:35:12 +0100 Subject: [PATCH 2/2] fix(!): factory Any Iaphub changement --- src/Factory/WebhookFactory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Factory/WebhookFactory.php b/src/Factory/WebhookFactory.php index 0e0885f..b32123f 100755 --- a/src/Factory/WebhookFactory.php +++ b/src/Factory/WebhookFactory.php @@ -64,8 +64,8 @@ private static function instanciateWebhookData(array $dataPayload): WebhookData $dataPayload['productSku'], $dataPayload['productType'], $dataPayload['productGroupName'] ?? null, - $dataPayload['listing'], - $dataPayload['store'], + $dataPayload['listing'] ?? '', + $dataPayload['store'] ?? '', $dataPayload['storeSegmentIndex'] ?? null, $dataPayload['currency'], $dataPayload['price'],