소스 검색

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";