chore(cart): Use module native soft-delete/delete methods (#6491)

This commit is contained in:
Oli Juhl authored and GitHub committed 2024-02-28 10:45:56 +00:00
1 parent d60f3adc03
commit c5d35ec7f2
7 files changed
+33 -424

No files matched your search

@@ -1,14 +1,12 @@
import {
AuthenticatedMedusaRequest,
MedusaRequest,
MedusaResponse,
} from "../../../types/routing"
import { CreateCartWorkflowInputDTO } from "@medusajs/types"
import { StorePostCartReq } from "./validators"
import { createCartWorkflow } from "@medusajs/core-flows"
import { defaultStoreCartFields } from "../carts/query-config"
import { CreateCartWorkflowInputDTO } from "@medusajs/types"
import { remoteQueryObjectFromString } from "@medusajs/utils"
import { defaultStoreCartFields } from "../carts/query-config"
export const POST = async (
req: AuthenticatedMedusaRequest<CreateCartWorkflowInputDTO>,