mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-10-28 15:47:50 +09:00
PR #122 review. Four routes passed request.get_json() straight into the service, which does `if field in data` and raises TypeError on None. Copilot reported the trigger as "empty/invalid JSON bodies"; measured on Flask 3.1.3 that is wrong — an empty body is already a 400 and a wrong content-type a 415, both raised by Flask before the view runs. The body that actually reaches the view is literal `null`, which is valid JSON and decodes to None. Same fix, accurate reason. Also corrects plugin.json, which claimed installing the extension serves the public /status/<slug> pages; the registry catalog says that page stays core, and the two contradicted each other. Both copies edited — app/plugins/ is the live copy the loader imports, builtin-extensions/ is the source — and a test pins that they agree. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>