style: linting

This commit is contained in:
2025-09-10 19:45:23 -06:00
parent b4da188a1a
commit eeed91cc82
4 changed files with 2801 additions and 2781 deletions

View File

@@ -164,7 +164,7 @@ async def rooms_get_by_name(
room = await rooms_controller.get_by_name(room_name)
if not room:
raise HTTPException(status_code=404, detail="Room not found")
# Convert to RoomDetails format (add webhook fields if user is owner)
room_dict = room.__dict__.copy()
if user_id == room.user_id:
@@ -175,7 +175,7 @@ async def rooms_get_by_name(
# Non-owner, hide webhook details
room_dict["webhook_url"] = None
room_dict["webhook_secret"] = None
return RoomDetails(**room_dict)