mirror of
https://github.com/qwerfd2/Groove_Coaster_2_Server.git
synced 2025-12-22 03:30:18 +00:00
Bug fix
This commit is contained in:
2
7001.py
2
7001.py
@@ -621,7 +621,7 @@ def bonus():
|
|||||||
my_avatar = json.dumps(list(avatars))
|
my_avatar = json.dumps(list(avatars))
|
||||||
|
|
||||||
# Update the table
|
# Update the table
|
||||||
cursor.execute("""UPDATE daily_reward SET timestamp = ?, day = ? WHERE device_id = ?""", (formatted_time, current_day, device_id))
|
cursor.execute("""UPDATE daily_reward SET timestamp = ?, day = ?, my_avatar = ?, my_stage = ? WHERE device_id = ?""", (formatted_time, current_day, json.dumps(my_avatar), json.dumps(my_stage), device_id))
|
||||||
|
|
||||||
# return 0 obj
|
# return 0 obj
|
||||||
xml_response = "<response><code>0</code></response>"
|
xml_response = "<response><code>0</code></response>"
|
||||||
|
|||||||
Reference in New Issue
Block a user