瀏覽代碼

fix import

adrien2p 2 年之前
父節點
當前提交
164105261c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/api/routes/store/index.ts

+ 2 - 2
src/api/routes/store/index.ts

@@ -1,6 +1,6 @@
-import * as cors from "cors"
+import cors from "cors"
 import { Router } from "express"
-import * as bodyParser from "body-parser"
+import bodyParser from "body-parser"
 import customRouteHandler from "./custom-route-handler"
 import { wrapHandler } from "@medusajs/medusa";