fix: add country code on preCartCreation
This commit is contained in:
1 parent
a57c58e07e
commit
e3faa646a7
2 files changed
+11
-2
No files matched your search
@@ -26,6 +26,7 @@ export default {
|
||||
// If this region exists, add it to the body of the cart creation request
|
||||
if (regions[0]) {
|
||||
req.body.region_id = regions[0]._id.toString()
|
||||
req.body.country_code = data.country_code
|
||||
}
|
||||
|
||||
next()
|
||||
|
||||
Reference in new issue
Block a user