Fix merge mistakes

This commit is contained in:
Tulir Asokan 2022-05-10 14:55:49 +03:00
parent 73a6f931ea
commit 6d1525885c
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ class ReceiptRestServlet(RestServlet):
if pattern.match(user_agent) or "Riot" in user_agent:
allow_empty_body = True
# This call makes sure possible empty body is handled correctly
parse_json_object_from_request(request, allow_empty_body)
body = parse_json_object_from_request(request, allow_empty_body)
await self.presence_handler.bump_presence_active_time(requester.user)