fix: add country code on preCartCreation
This commit is contained in:
@@ -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