feat: Add return type in createPaymentCollectionForCartWorkflow (#13385)

* return created payment collection in createPaymentCollectionForCartWorkflow

* changeset

* Update .changeset/tasty-ghosts-work.md

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>

* declare return type

* return single payment collection instead of array

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Co-authored-by: William Bouchard <46496014+willbouch@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-09-07 19:24:09 +02:00
1 parent 71d8a0031f
commit ca471eb8f4
2 files changed
+10 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/core-flows": patch
---
feat(core-flows): return type in createPaymentCollectionForCartWorkflow