From 4e7d242a78fd44ffa06316a9dd23fd2d78fbb5b4 Mon Sep 17 00:00:00 2001 From: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:35:52 +0100 Subject: [PATCH] fix(stock-location): Fix export of StockLocation module (#10406) --- packages/modules/stock-location/src/index.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/modules/stock-location/src/index.ts b/packages/modules/stock-location/src/index.ts index d0cc3ca12b..51afbd3a2e 100644 --- a/packages/modules/stock-location/src/index.ts +++ b/packages/modules/stock-location/src/index.ts @@ -1,7 +1,6 @@ +import { Module, Modules } from "@medusajs/framework/utils" import { StockLocationModuleService } from "@services" -import { ModuleExports } from "@medusajs/framework/types" -const moduleDefinition: ModuleExports = { +export default Module(Modules.STOCK_LOCATION, { service: StockLocationModuleService, -} -export default moduleDefinition +})