fix(medusa): fix bug with parent not being saved correctly (#3534)

What:

- Parent was being updated incorrectly because of a weird typeorm issue, making the rank pick up the wrong entity's rank. This PR fixes that issue by passing in an ID and letting the service take care of fetching the parent.

RESOLVES CORE-1274
This commit is contained in:
Riqwan Thamir
2023-03-21 09:37:13 +01:00
committed by GitHub
parent c328ec5ca2
commit 7f2223b650
2 changed files with 8 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---
fix(medusa): fix bug with parent not being saved correctly