This commit is contained in:
Nicolas Mowen 2025-06-10 16:33:18 -06:00
parent c7b4d7791b
commit f38bffde43

View File

@ -392,7 +392,8 @@ def config_set(request: Request, body: AppConfigSetBody):
if body.requires_restart == 0 or body.update_topic: if body.requires_restart == 0 or body.update_topic:
request.app.frigate_config = config request.app.frigate_config = config
if body.update_topic and body.update_topic.startswith("config/cameras/"): if body.update_topic:
if body.update_topic.startswith("config/cameras/"):
_, _, camera, field = body.update_topic.split("/") _, _, camera, field = body.update_topic.split("/")
settings = config.get_nested_object(body.update_topic) settings = config.get_nested_object(body.update_topic)