From b1e98eec0e197241350f3584958b113fe99122c1 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Thu, 27 Jun 2024 07:55:11 -0400 Subject: [PATCH] Rename GET /futures response keys to match request --- synapse/storage/databases/main/futures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/storage/databases/main/futures.py b/synapse/storage/databases/main/futures.py index 87ee15a2ef6..c6956e5f3c7 100644 --- a/synapse/storage/databases/main/futures.py +++ b/synapse/storage/databases/main/futures.py @@ -320,8 +320,8 @@ async def get_all_futures_for_user( ) return [ { - "group_id": str(row[0]), - **({"timeout": int(row[1])} if row[1] is not None else {}), + "future_group_id": str(row[0]), + **({"future_timeout": int(row[1])} if row[1] is not None else {}), "room_id": str(row[2]), "type": str(row[3]), **({"state_key": str(row[4])} if row[4] is not None else {}),