ちょっとバグ修正
This commit is contained in:
parent
8e635eb92c
commit
db55479da9
1 changed files with 1 additions and 1 deletions
|
@ -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"}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue