mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-02-12 16:52:51 +00:00
Built-in profiles (Flock, Motorola, etc.) include placeholder empty values like camera:mount: '' for user refinement. When these get serialized into the routing request body, the alprwatch API rejects them with HTTP 400. Fix: strip empty-valued tags from enabled_profiles before sending the routing request. Also refactor RoutingService to accept an injectable http.Client for testability, and log error response bodies for easier debugging of future API issues. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>