Update synapse/rest/client/v2_alpha/account.py

Co-Authored-By: babolivier <contact@brendanabolivier.com>
This commit is contained in:
Andrew Morgan 2019-05-01 10:02:18 +01:00 committed by GitHub
parent 26c004129f
commit 1973eb11d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -497,7 +497,7 @@ class ThreepidLookupRestServlet(RestServlet):
"""
yield self.auth.get_user_by_req(request)
# Extract query parameters
# Verify query parameters
query_params = request.args
assert_params_in_dict(query_params, [b"medium", b"address", b"id_server"])