0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-18 09:54:01 +01:00
This commit is contained in:
Erik Johnston 2017-05-31 14:15:45 +01:00
parent 45a5df5914
commit 535c99f157

View file

@ -38,7 +38,7 @@ class UserDirectorySearchRestServlet(RestServlet):
self.user_directory_handler = hs.get_user_directory_handler()
@defer.inlineCallbacks
def on_GET(self, request):
def on_POST(self, request):
yield self.auth.get_user_by_req(request, allow_guest=False)
body = parse_json_object_from_request(request)