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
Bug description
I am running Firefly III version 4.8.1.1, and my problem is:
when creating a account trough the rest-api the include_net_worth returns always true.
no matter what you put in the payload.
Bug description
I am running Firefly III version 4.8.1.1, and my problem is:
when creating a account trough the rest-api the include_net_worth returns always true.
no matter what you put in the payload.
payload = {"name": name, "type": "revenue", "iban": IBAN, "include_net_worth": 0}
Steps to reproduce
in python 3.7x with library requests
header = {"Authorization": auth_token, 'Accept': 'application/json', 'Content-Type': 'application/json',} payload = {"name": name, "type": "revenue", "iban": IBAN, "include_net_worth": 0} response = requests.post(base_url+"/api/v1/accounts", data=json.dumps(payload), headers=header)
or
payload = {"name": name, "type": "revenue", "iban": IBAN, "include_net_worth": false} response = requests.post(base_url+"/api/v1/accounts", data=json.dumps(payload), headers=header)
i run it in a docker container, i don't know why it says false
Debug information generated at 2019-10-06 01:36:32 Europe/Amsterdam for Firefly III version 4.8.1.1.
The text was updated successfully, but these errors were encountered: