Skip to content

Commit

Permalink
Merge pull request #211 from MyParcelCOM/feature/qa-feedback
Browse files Browse the repository at this point in the history
πŸ‘ŒπŸ» Use updateCollection() to register the collection
  • Loading branch information
yoan-myparcel authored Mar 1, 2024
2 parents 370d2c1 + 4da0390 commit 1619ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MyParcelComApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ public function registerCollection(CollectionInterface|string $collectionId): Co
->setId($collectionId)
->setRegister(true);

return $this->patchResource($collectionToRegister);
return $this->updateCollection($collectionToRegister);
}

/**
Expand Down

0 comments on commit 1619ab5

Please sign in to comment.