admin-only frigate+ frame upload

the UI already hides this so this is just to fix the endpoint
This commit is contained in:
Josh Hawkins
2026-11-24 08:05:58 -06:00
parent 0d047d79c2
commit 478633b322
+1 -1
View File
@@ -434,7 +434,7 @@ async def get_snapshot_from_recording(
@router.post(
"/{camera_name}/plus/{frame_time}", dependencies=[Depends(require_camera_access)]
"/{camera_name}/plus/{frame_time}", dependencies=[Depends(require_role(["admin"]))]
)
async def submit_recording_snapshot_to_plus(
request: Request, camera_name: str, frame_time: str