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:
1 parent
c07ffb6165
commit
3d200c41f9
3 files changed
+39
-83
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
---
|
||||
|
||||
chore: refactor payment collection setPaymentSession
|
||||
Reference in new issue
Block a user