health
health copied to clipboard
[bug] Weight API: `bodyfat` and `measurement` are set to `0` on update
Steps to reproduce
- Create (POST) a weight record via the API with
bodyfat
andmeasurement
set tonull
. - Verify that in the Health app, this is actually created with
bodyfat
andmeasurement
set tonull
. - Update (PUT) that same weight record via the API with
bodyfat
andmeasurement
set tonull
.
Expected behavior
bodyfat
and measurement
should still be null
after the update.
Actual behavior
bodyfat
and measurement
were set to 0
(zero) after the update.
Health app version
2.2.2
Additional info
No response
This is somewhat related to #146.
Could you let me know how you post the data?
I get CSRF check failed at every try