REFACTOR: Remove current_stream_title and current_selected_category_id from users table

This commit is contained in:
Chris-1010
2025-02-27 11:54:40 +00:00
parent e79ebd0b15
commit eb65e71cfb
3 changed files with 7 additions and 11 deletions

View File

@@ -215,8 +215,7 @@ def publish_stream():
with Database() as db:
user_info = db.fetchone("""SELECT user_id, username, current_stream_title,
current_selected_category_id, is_live
user_info = db.fetchone("""SELECT user_id, username, is_live
FROM users
WHERE stream_key = ?""", (data['stream_key'],))