[Store] Fix query

This commit is contained in:
Christian Pauly 2019-08-28 13:09:52 +02:00
parent 76a1e538c7
commit b4f0094542

View file

@ -371,7 +371,7 @@ class Store {
List<Room> roomList = [];
for (num i = 0; i < res.length; i++) {
Room room = await Room.getRoomFromTableRow(res[i], client,
states: getStatesFromRoomId(res[i]["id"]));
states: getStatesFromRoomId(res[i]["room_id"]));
roomList.add(room);
}
return roomList;