Fix typo, which caused db problems on Heroku

pull/1/head
hikariatama 2022-07-03 18:41:14 +00:00
parent 402ed878c6
commit 32bcd634a4
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class Database(dict):
with self._postgre.cursor() as cur:
cur.execute(
"UPDATE hikka SET data = %s WHERE id = %s;",
(self._client._tg_id, json.dumps(self)),
(json.dumps(self), self._client._tg_id),
)
def _redis_save_sync(self):