summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-04-12 13:35:08 +0100
committerDavid Baker <dave@matrix.org>2016-04-12 13:35:08 +0100
commit7b39bcdaae70e3a167d38bb1cdf8e6d4d95f0cca (patch)
tree39eba8f3aae7a23ec0a4e13793892d2d9daab0b1 /synapse/rest/client
parentSplit into separate servlet classes (diff)
downloadsynapse-7b39bcdaae70e3a167d38bb1cdf8e6d4d95f0cca.tar.xz
Mis-named function
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v1/pusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/pusher.py b/synapse/rest/client/v1/pusher.py
index 321eadbc24..d792dac648 100644
--- a/synapse/rest/client/v1/pusher.py
+++ b/synapse/rest/client/v1/pusher.py
@@ -37,7 +37,7 @@ class PushersRestServlet(ClientV1RestServlet):
         requester = yield self.auth.get_user_by_req(request)
         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()
         )