This commit is contained in:
Nicolas Mowen
2024-09-24 09:27:10 -05:00
committed by GitHub
parent ecbf0410eb
commit d17253b023
2 changed files with 66 additions and 66 deletions
+1 -1
View File
@@ -1022,7 +1022,7 @@ def create_event(
request: Request,
camera_name: str,
label: str,
body: EventsCreateBody = None,
body: EventsCreateBody = EventsCreateBody(),
):
if not camera_name or not request.app.frigate_config.cameras.get(camera_name):
return JSONResponse(