mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 20:39:22 -05:00
Mis-named function
This commit is contained in:
parent
d937f342bb
commit
7b39bcdaae
@ -37,7 +37,7 @@ class PushersRestServlet(ClientV1RestServlet):
|
|||||||
requester = yield self.auth.get_user_by_req(request)
|
requester = yield self.auth.get_user_by_req(request)
|
||||||
user = requester.user
|
user = requester.user
|
||||||
|
|
||||||
pushers = yield self.hs.get_datastore().get_pushers_by_app_user_id(
|
pushers = yield self.hs.get_datastore().get_pushers_by_user_id(
|
||||||
user.to_string()
|
user.to_string()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ class PusherStore(SQLBaseStore):
|
|||||||
defer.returnValue(rows)
|
defer.returnValue(rows)
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def get_pushers_by_app_user_id(self, user_id):
|
def get_pushers_by_user_id(self, user_id):
|
||||||
def r(txn):
|
def r(txn):
|
||||||
sql = (
|
sql = (
|
||||||
"SELECT * FROM pushers"
|
"SELECT * FROM pushers"
|
||||||
|
Loading…
Reference in New Issue
Block a user