Skip to content

Commit b1e98ee

Browse files
committed
Rename GET /futures response keys to match request
1 parent 7c23b77 commit b1e98ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synapse/storage/databases/main/futures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ async def get_all_futures_for_user(
320320
)
321321
return [
322322
{
323-
"group_id": str(row[0]),
324-
**({"timeout": int(row[1])} if row[1] is not None else {}),
323+
"future_group_id": str(row[0]),
324+
**({"future_timeout": int(row[1])} if row[1] is not None else {}),
325325
"room_id": str(row[2]),
326326
"type": str(row[3]),
327327
**({"state_key": str(row[4])} if row[4] is not None else {}),

0 commit comments

Comments
 (0)