Skip to content

Commit

Permalink
fat(medusa): Update plugins cors import
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien2p committed Jul 28, 2022
1 parent 05df560 commit b7309e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import cors from "cors"
import bodyParser from "body-parser"
import middlewares from "../../middlewares"
import { getConfigFile } from "medusa-core-utils"
import { parseCorsOrigins } from "@medusajs/medusa/src/utils";
import { parseCorsOrigins } from "@medusajs/medusa/dist/utils"

const route = Router()

Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-mailchimp/src/api/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import bodyParser from "body-parser"
import middlewares from "../middleware"
import { getConfigFile } from "medusa-core-utils"
import cors from "cors"
import { parseCorsOrigins } from "@medusajs/medusa/src/utils";
import { parseCorsOrigins } from "@medusajs/medusa/dist/utils"

const route = Router()

Expand Down

0 comments on commit b7309e9

Please sign in to comment.