This commit is contained in:
Nicolas Mowen 2024-12-15 15:40:55 -07:00
parent c60d595bc2
commit c7be6ba2fc

View File

@ -135,7 +135,7 @@ def config(request: Request):
camera_dict["zones"][zone_name]["color"] = zone.color
# remove go2rtc stream passwords
go2rtc = config_obj.go2rtc.model_dump(
go2rtc: dict[str, any] = config_obj.go2rtc.model_dump(
mode="json", warnings="none", exclude_none=True
)
for stream_name, stream in go2rtc.get("streams", {}).items():