Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Fix inventory quantity #183

Merged
merged 2 commits into from
Dec 1, 2021
Merged

Fix inventory quantity #183

merged 2 commits into from
Dec 1, 2021

Conversation

kennanseno
Copy link
Contributor

Fix for #180

Why? inventory_quantity is being sent as a String whilst a number type is required hence a 400 upon saving a product.

@netlify
Copy link

netlify bot commented Dec 1, 2021

✔️ Deploy Preview for frosty-goldwasser-317e6f ready!

🔨 Explore the source changes: 70ed995

🔍 Inspect the deploy log: https://app.netlify.com/sites/frosty-goldwasser-317e6f/deploys/61a732bf962a540008dad4e6

😎 Browse the preview: https://deploy-preview-183--frosty-goldwasser-317e6f.netlify.app

@olivermrbl olivermrbl changed the base branch from master to develop December 1, 2021 08:35
@kennanseno kennanseno changed the title Fix/inventory quantity Fix inventory quantity Dec 1, 2021
@srindom srindom merged commit 359b7a4 into medusajs:develop Dec 1, 2021
fPolic pushed a commit that referenced this pull request Mar 1, 2022
* Convert string inventory_quantity to number

* use parseInt intead
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants