chore: remove container registration name (#9137)

This commit is contained in:
Carlos R. L. Rodrigues
2024-09-16 06:22:24 -03:00
committed by GitHub
parent ab4a422fc8
commit 950cf9af79
421 changed files with 1528 additions and 2496 deletions
@@ -1,9 +1,9 @@
import { ModuleRegistrationName } from "@medusajs/utils"
import { HttpTypes } from "@medusajs/types"
import { Modules } from "@medusajs/utils"
import {
AuthenticatedMedusaRequest,
MedusaResponse,
} from "../../../../../types/routing"
import { HttpTypes } from "@medusajs/types"
export const GET = async (
req: AuthenticatedMedusaRequest,
@@ -12,7 +12,7 @@ export const GET = async (
const { id } = req.params
// NOTE: Consider replacing with remoteQuery when possible
const orderModuleService = req.scope.resolve(ModuleRegistrationName.ORDER)
const orderModuleService = req.scope.resolve(Modules.ORDER)
const order = (await orderModuleService.previewOrderChange(
id