mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
A PUT /settings with null for a number setting stored the literal "None". From then on int()/float() raised inside the response builder, and every settings read returned 503 until the row was fixed by hand. Explicit null for any boolean or numeric setting is now refused with a 422 that names the keys, and nothing in that request is saved. A numeric row that does not parse reads back as its default with a warning, so an install that already stored one recovers. The typed-key lists moved to module constants so the save check and the read path share them.