Skip to content
Snippets Groups Projects
Commit 38565827 authored by Paul "LeoNerd" Evans's avatar Paul "LeoNerd" Evans
Browse files

Ensure that 3PU lookup request fields actually get passed in

parent f0c73a1e
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,11 @@ class ThirdPartyUserServlet(RestServlet):
@defer.inlineCallbacks
def on_GET(self, request, protocol):
fields = {} # TODO
fields = request.args
del fields["access_token"]
# TODO(paul): Some type checking on the request args might be nice
# They should probably all be strings
results = yield self.appservice_handler.query_3pu(protocol, fields)
defer.returnValue((200, results))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment