hotfix(medusa): Get cart with session (#165)

This commit is contained in:
Oliver Windall Juhl
2021-02-04 14:51:04 +01:00
committed by GitHub
parent d8e806d8ff
commit 81df78384c
7 changed files with 197 additions and 2 deletions
@@ -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")