Merge pull request #48 from eyMarv/patch-1

Fix execute() missing "await"
This commit is contained in:
2024-03-01 16:26:55 +07:00 committed by GitHub
commit e74e54cef0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -180,7 +180,7 @@ class SQLiteStorage(Storage):
r = await q.fetchone()
if r is None:
r2 = self.conn.execute(
r2 = await self.conn.execute(
"SELECT peer_id, last_update_on FROM usernames WHERE id = ?"
"ORDER BY last_update_on DESC",
(username,)