mirror of https://github.com/glanceapp/glance.git
Fix HTTP status code check to accept 201 Created
- Change decodeJsonFromRequest to accept all 2xx status codes (200-299) - Previously only accepted status 200, causing 201 Created to be treated as error - Vikunja API returns 201 when creating tasks, which is correct HTTP behavior - This was the root cause of "unexpected status code 201" error Co-authored-by: Mord0reK <135718526+Mord0reK@users.noreply.github.com>pull/878/head
parent
e6aff6d032
commit
71972a65ef
Loading…
Reference in New Issue