Skip to content

Commit

Permalink
Merge pull request #212 from MyParcelCOM/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
yoan-myparcel authored Mar 7, 2024
2 parents c0f3085 + 1619ab5 commit 522cbbd
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 522cbbd

Please sign in to comment.