Skip to content

Commit

Permalink
Rename GET /futures response keys to match request
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFerr committed Jun 27, 2024
1 parent 9385602 commit 662ac53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/storage/databases/main/futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}),
Expand Down

0 comments on commit 662ac53

Please sign in to comment.