You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
9344962003855: "product_quantity" is 175mg but API returns 0.75 with "g" unit. Also there's an issue with "product_quantity" type, if it's in grams, the type is string("175"), but when it's mg, the type is number(0.75).
9310653105610: Also for web it seems that salt is entered in "mg", but is shown in "g". While calcium is entered in "mg" and is correctly shown in "mg".
Expected behavior
If entered in MG, API should return MG value, etc...
Screenshot/Mockup/Before-After
Type of device
REST-API
Number of products impacted
See at least 1.
The text was updated successfully, but these errors were encountered:
theedov
changed the title
Macros in "mg" are returned as "g" value from the API
Quantities in "mg" are returned in "g" from the API. product_quantity type changes based on unit.
Feb 8, 2025
What
Few issues:
Expected behavior
If entered in MG, API should return MG value, etc...
Screenshot/Mockup/Before-After
Type of device
REST-API
Number of products impacted
See at least 1.
The text was updated successfully, but these errors were encountered: