chore: refactor payment collection setPaymentSession (#2928)
**What** Only use `setPaymentSessionsBatch` in `setPaymentSession` to reuse the logic as it is the same behavior. One for a unique session and the other one for multiple sessions. This refactoring reduce the risk of introducing bugs when working around payment session if it needs to be changed (which is currently happening as part of the payment refactoring) and having to change it in less places instead of more and more places
This commit is contained in:
committed by
GitHub
parent
c07ffb6165
commit
3d200c41f9
5
.changeset/mighty-cups-cheer.md
Normal file
5
.changeset/mighty-cups-cheer.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
---
|
||||
|
||||
chore: refactor payment collection setPaymentSession
|
||||
Reference in New Issue
Block a user