summary refs log tree commit diff
path: root/synapse/rest/client/events.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client/events.py')
-rw-r--r--synapse/rest/client/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/events.py b/synapse/rest/client/events.py
index 13b72a045a..672c821061 100644
--- a/synapse/rest/client/events.py
+++ b/synapse/rest/client/events.py
@@ -91,7 +91,7 @@ class EventRestServlet(RestServlet):
 
         time_now = self.clock.time_msec()
         if event:
-            result = await self._event_serializer.serialize_event(event, time_now)
+            result = self._event_serializer.serialize_event(event, time_now)
             return 200, result
         else:
             return 404, "Event not found."