Address review comments

This commit is contained in:
Andrew Morgan 2019-11-06 14:54:24 +00:00
parent d2f6a67cb4
commit 1fe3cc2c9c
2 changed files with 13 additions and 13 deletions

View file

@ -75,7 +75,7 @@ class ReplicationRegisterServlet(ReplicationEndpoint):
async def _handle_request(self, request, user_id):
content = parse_json_object_from_request(request)
await self.registration_handler.check_registration_ratelimit(content["address"])
self.registration_handler.check_registration_ratelimit(content["address"])
await self.registration_handler.register_with_store(
user_id=user_id,