Rename GET /futures response keys to match request

This commit is contained in:
Andrew Ferrazzutti 2024-06-27 07:55:11 -04:00
parent 7c23b77f3e
commit b1e98eec0e

View file

@ -320,8 +320,8 @@ class FuturesStore(SQLBaseStore):
) )
return [ return [
{ {
"group_id": str(row[0]), "future_group_id": str(row[0]),
**({"timeout": int(row[1])} if row[1] is not None else {}), **({"future_timeout": int(row[1])} if row[1] is not None else {}),
"room_id": str(row[2]), "room_id": str(row[2]),
"type": str(row[3]), "type": str(row[3]),
**({"state_key": str(row[4])} if row[4] is not None else {}), **({"state_key": str(row[4])} if row[4] is not None else {}),