diff --git a/.changeset/nervous-insects-switch.md b/.changeset/nervous-insects-switch.md new file mode 100644 index 0000000000..90d46e861d --- /dev/null +++ b/.changeset/nervous-insects-switch.md @@ -0,0 +1,6 @@ +--- +"medusa-payment-stripe": patch +"@medusajs/medusa": patch +--- + +fix(strip): Hooks import was wrong diff --git a/packages/medusa-payment-stripe/src/api/routes/hooks/stripe.js b/packages/medusa-payment-stripe/src/api/routes/hooks/stripe.js index 1ea4aa6c3a..7fedd77846 100644 --- a/packages/medusa-payment-stripe/src/api/routes/hooks/stripe.js +++ b/packages/medusa-payment-stripe/src/api/routes/hooks/stripe.js @@ -1,4 +1,4 @@ -import { PostgresError } from "@medusajs/medusa/src/utils" +import { PostgresError } from "@medusajs/medusa/dist/utils" export default async (req, res) => { const signature = req.headers["stripe-signature"]