fix(strip): Hooks import was wrong (#2666)

* fix(strip): Hooks import was wrong

* Create nervous-insects-switch.md
This commit is contained in:
Adrien de Peretti
2022-11-24 16:16:35 +01:00
committed by GitHub
parent 105c689298
commit 63d2a0eb1b
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
---
"medusa-payment-stripe": patch
"@medusajs/medusa": patch
---
fix(strip): Hooks import was wrong

View File

@@ -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"]