update endopoints

This commit is contained in:
ben
2026-08-17 15:22:12 +02:00
parent 5a9b820bc6
commit 73bd655898
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -246,7 +246,7 @@ def leave_room(room_id, user_id):
)
def change_room_name(room_id, new_name, user_id):
room = execute(
room = fetch_one(
"""
SELECT id
FROM rooms
@@ -264,7 +264,7 @@ def change_room_name(room_id, new_name, user_id):
execute(
"""
UPDATE rooms
SET room_name = ?
SET name = ?
WHERE id = ?
""",
(