Skip to content

Commit c86d22a

Browse files
committed
Fix: DELETE cameras
1 parent ff7775f commit c86d22a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ async def update_zone(zone_id: int, update: UpdateZone):
261261
detail=f"Internal server error: {str(e)}"
262262
)
263263

264-
@self.app.delete("cameras/{camera_id}")
264+
@self.app.delete("/cameras/{camera_id}")
265265
async def delete_camera(camera_id: int):
266266
try:
267267
camera = self.db_manager.get_camera(camera_id)

0 commit comments

Comments
 (0)