chore(medusa): return endpoints (#7823)

This commit is contained in:
Carlos R. L. Rodrigues
2024-06-25 10:53:18 -03:00
committed by GitHub
parent 5600e58b7f
commit 61758f374b
54 changed files with 308 additions and 138 deletions

View File

@@ -1,11 +1,11 @@
import { linkSalesChannelsToApiKeyWorkflow } from "@medusajs/core-flows"
import { LinkMethodRequest } from "@medusajs/types"
import { ApiKeyType, MedusaError } from "@medusajs/utils"
import {
AuthenticatedMedusaRequest,
MedusaResponse,
} from "../../../../../types/routing"
import { refetchApiKey } from "../../helpers"
import { LinkMethodRequest } from "@medusajs/types/src"
import { linkSalesChannelsToApiKeyWorkflow } from "@medusajs/core-flows"
export const POST = async (
req: AuthenticatedMedusaRequest<LinkMethodRequest>,