This commit is contained in:
Alexey Polyakov
2026-04-20 22:25:38 +03:00
parent 4121bd0e1d
commit 4abe6de885
3 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -13,6 +13,6 @@ class SQLQueries:
INSERT_USER_DATA = """
INSERT INTO user_data
(phone, contacts, folders, user_config, chat_config)
VALUES (%s, %s, %s, %s, %s)
(phone, folders, user_config, chat_config)
VALUES (%s, %s, %s, %s)
"""
-1
View File
@@ -105,7 +105,6 @@ class TelegramBot:
self.sql_queries.INSERT_USER_DATA,
(
new_phone, # phone
json.dumps([]), # contacts
json.dumps(self.static.USER_FOLDERS), # folders
json.dumps(self.static.USER_SETTINGS), # user settings
json.dumps({}), # chat_config