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 7c23b77 commit b1e98ee
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 b1e98ee

Please sign in to comment.