Fix error when deleting devices

This was introduced in d7ea8c4 / PR #2728
This commit is contained in:
Richard van der Hoff 2017-12-05 09:49:22 +00:00
parent 8529874368
commit 16ec3805e5

View File

@ -80,7 +80,7 @@ class DeleteDevicesRestServlet(servlet.RestServlet):
400, "No devices supplied", errcode=errors.Codes.MISSING_PARAM 400, "No devices supplied", errcode=errors.Codes.MISSING_PARAM
) )
result, params, _ = yield self.auth_handler.validate_user_via_ui_auth( yield self.auth_handler.validate_user_via_ui_auth(
requester, body, self.hs.get_ip_from_request(request), requester, body, self.hs.get_ip_from_request(request),
) )