mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 14:39:29 -05:00
Fix SQL statement
This commit is contained in:
parent
b5afe6bc38
commit
c081228439
@ -199,7 +199,7 @@ class RegistrationStore(SQLBaseStore):
|
|||||||
def f(txn):
|
def f(txn):
|
||||||
txn.execute(
|
txn.execute(
|
||||||
"SELECT id, token FROM access_tokens "
|
"SELECT id, token FROM access_tokens "
|
||||||
"WHERE user_id = ? AND id not in LIMIT 50",
|
"WHERE user_id = ? AND id NOT IN ? LIMIT 50",
|
||||||
(user_id, except_token_ids)
|
(user_id, except_token_ids)
|
||||||
)
|
)
|
||||||
rows = txn.fetchall()
|
rows = txn.fetchall()
|
||||||
|
Loading…
Reference in New Issue
Block a user