chore(medusa): remove empty object type for set cart's customer route (#13549)
This commit is contained in:
5
.changeset/heavy-toes-remain.md
Normal file
5
.changeset/heavy-toes-remain.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/medusa": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
chore(medusa): remove empty object type for set cart's customer route
|
||||||
@@ -7,11 +7,10 @@ import {
|
|||||||
} from "@medusajs/framework/http"
|
} from "@medusajs/framework/http"
|
||||||
import { Modules } from "@medusajs/framework/utils"
|
import { Modules } from "@medusajs/framework/utils"
|
||||||
import { refetchCart } from "../../helpers"
|
import { refetchCart } from "../../helpers"
|
||||||
import { StoreUpdateCartCustomerType } from "../../validators"
|
|
||||||
import { AdditionalData } from "@medusajs/types"
|
import { AdditionalData } from "@medusajs/types"
|
||||||
|
|
||||||
export const POST = async (
|
export const POST = async (
|
||||||
req: AuthenticatedMedusaRequest<StoreUpdateCartCustomerType & AdditionalData>,
|
req: AuthenticatedMedusaRequest<AdditionalData>,
|
||||||
res: MedusaResponse<HttpTypes.StoreCartResponse>
|
res: MedusaResponse<HttpTypes.StoreCartResponse>
|
||||||
) => {
|
) => {
|
||||||
const we = req.scope.resolve(Modules.WORKFLOW_ENGINE)
|
const we = req.scope.resolve(Modules.WORKFLOW_ENGINE)
|
||||||
|
|||||||
Reference in New Issue
Block a user