hotfix(medusa): Get cart with session (#165)
This commit is contained in:
@@ -16,7 +16,6 @@ export default async (req, res) => {
|
||||
}
|
||||
|
||||
try {
|
||||
const orderService = req.scope.resolve("orderService")
|
||||
const customerService = req.scope.resolve("customerService")
|
||||
await customerService.update(id, value)
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import { defaultFields, defaultRelations } from "./"
|
||||
|
||||
export default async (req, res) => {
|
||||
const { id } = req.params
|
||||
|
||||
try {
|
||||
const cartService = req.scope.resolve("cartService")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user