diff --git a/frigate/api/app.py b/frigate/api/app.py index 2de0b0f23..78201dcd8 100644 --- a/frigate/api/app.py +++ b/frigate/api/app.py @@ -166,8 +166,8 @@ def config_raw(): @router.post("/config/save") -def config_save(save_option: str, body: Any = Body()): - new_config = body +def config_save(save_option: str, body: Any = Body(media_type="text/plain")): + new_config = body.decode() if not new_config: return JSONResponse(