mirror of
https://github.com/qwerfd2/Groove_Coaster_2_Server.git
synced 2026-09-22 22:38:01 +03:00
Bug fix
This commit is contained in:
@@ -621,7 +621,7 @@ def bonus():
|
||||
my_avatar = json.dumps(list(avatars))
|
||||
|
||||
# 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
|
||||
xml_response = "<response><code>0</code></response>"
|
||||
|
||||
Reference in New Issue
Block a user