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:
committed by
GitHub
parent
2caff2efc7
commit
240c439beb
@@ -33,7 +33,7 @@ Object {
|
||||
"description": null,
|
||||
"discountable": true,
|
||||
"external_id": null,
|
||||
"handle": null,
|
||||
"handle": "handmade-frozen-chair",
|
||||
"height": null,
|
||||
"hs_code": null,
|
||||
"id": "test-product",
|
||||
@@ -149,7 +149,7 @@ Object {
|
||||
"description": null,
|
||||
"discountable": true,
|
||||
"external_id": null,
|
||||
"handle": null,
|
||||
"handle": "practical-frozen-fish",
|
||||
"height": null,
|
||||
"hs_code": null,
|
||||
"id": "test-product",
|
||||
|
||||
Reference in New Issue
Block a user