digest: Fix the structure that we enqueue across when digesting.

This rename was missed in bfa0bdf3d6.
Without this fix, digest messages fail to send.
This commit is contained in:
Alex Vandiver
2021-02-08 15:53:26 -08:00
parent d0ba3cadcf
commit d0f0c2f2ed
3 changed files with 4 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ def should_process_digest(realm_str: str) -> bool:
def queue_digest_user_ids(user_ids: List[int], cutoff: datetime.datetime) -> None:
# Convert cutoff to epoch seconds for transit.
event = {
"user_profile_id": user_ids,
"user_ids": user_ids,
"cutoff": cutoff.strftime('%s')
}
queue_json_publish("digest_emails", event)