adrien2p 2 年 前
コミット
9f0095159d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/api/routes/admin/index.ts

+ 1 - 1
src/api/routes/admin/index.ts

@@ -5,7 +5,7 @@ import customRouteHandler from "./custom-route-handler"
 import { authenticate, wrapHandler } from "@medusajs/medusa";
 
 const adminRouter = Router()
-export function getStoreRouter(adminCorsOptions): Router {
+export function getAdminRouter(adminCorsOptions): Router {
   adminRouter.use("/admin", cors(adminCorsOptions), authenticate(), bodyParser.json())
 
   adminRouter.post(