From 4da0390b809278c2983cff79d5c442e985de60c2 Mon Sep 17 00:00:00 2001 From: Martin Boer Date: Fri, 1 Mar 2024 09:21:11 +0100 Subject: [PATCH] :ok_hand: use updateCollection() to register the collection --- src/MyParcelComApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MyParcelComApi.php b/src/MyParcelComApi.php index d1c8b183..b60d6570 100644 --- a/src/MyParcelComApi.php +++ b/src/MyParcelComApi.php @@ -710,7 +710,7 @@ public function registerCollection(CollectionInterface|string $collectionId): Co ->setId($collectionId) ->setRegister(true); - return $this->patchResource($collectionToRegister); + return $this->updateCollection($collectionToRegister); } /**