Refactor the code to inject bundled relations during serialization. (#11408)

This commit is contained in:
Patrick Cloke 2021-11-23 06:43:56 -05:00 committed by GitHub
parent 1035663833
commit 6a5dd485bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 92 additions and 73 deletions

View file

@ -522,7 +522,7 @@ class SyncRestServlet(RestServlet):
time_now=time_now,
# We don't bundle "live" events, as otherwise clients
# will end up double counting annotations.
bundle_aggregations=False,
bundle_relations=False,
token_id=token_id,
event_format=event_formatter,
only_event_fields=only_fields,