ちょっとバグ修正

This commit is contained in:
suti7yk5032 2024-08-23 00:19:33 +09:00
parent 8e635eb92c
commit db55479da9

View file

@ -130,7 +130,7 @@ class Auth():
else: else:
# mouse_listの使用中ユーザーを消す # mouse_listの使用中ユーザーを消す
cursor.execute("UPDATE mouse_list SET using_member_id = NULL WHERE keyboard_number = %s", (mouse_number,)) cursor.execute("UPDATE mouse_list SET using_member_id = NULL WHERE keyboard_number = %s", (mouse_number,))
cursor.execute("UPDATE pc_usage_history SET end_use_time = clock_timestamp(), bot_about = %s WHERE id = %s", (bot_about, pc_usage_history_record_id)) cursor.execute("UPDATE pc_usage_history SET end_use_time = clock_timestamp() WHERE id = %s", (pc_usage_history_record_id,))
self.db.commit() self.db.commit()
return {"result": 0, "about": "ok"} return {"result": 0, "about": "ok"}