fix(medusa): Performance improvement for variant availability (#3921)
**What** - refactor availability invocations to only do one call to the inventory module @adrien2p would love to run through some tests of this with you and get your take on approach
This commit is contained in:
1 parent
f8532cb7fd
commit
9838723192
3 files changed
+98
-22
No files matched your search
@@ -91,6 +91,7 @@ describe("List Variants", () => {
|
||||
stocked_quantity: 10,
|
||||
})
|
||||
})
|
||||
|
||||
it("Decorates inventory quantities when listing variants", async () => {
|
||||
const api = useApi()
|
||||
|
||||
|
||||
Reference in new issue
Block a user