[Store] Fix query
This commit is contained in:
parent
76a1e538c7
commit
b4f0094542
|
@ -371,7 +371,7 @@ class Store {
|
||||||
List<Room> roomList = [];
|
List<Room> roomList = [];
|
||||||
for (num i = 0; i < res.length; i++) {
|
for (num i = 0; i < res.length; i++) {
|
||||||
Room room = await Room.getRoomFromTableRow(res[i], client,
|
Room room = await Room.getRoomFromTableRow(res[i], client,
|
||||||
states: getStatesFromRoomId(res[i]["id"]));
|
states: getStatesFromRoomId(res[i]["room_id"]));
|
||||||
roomList.add(room);
|
roomList.add(room);
|
||||||
}
|
}
|
||||||
return roomList;
|
return roomList;
|
||||||
|
|
Loading…
Reference in a new issue