fix(medusa): Product model before insert hook (#5200)

**What**
When the id is provided, the rest of the hook should still apply. At the moment, when the id is provided the hook is skipped
This commit is contained in:
Adrien de Peretti
2023-09-26 09:48:26 +00:00
committed by GitHub
parent 2caff2efc7
commit 240c439beb
6 changed files with 26 additions and 21 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---
fix(medusa): Product model before insert hook