diff --git a/lib/dao.js b/lib/dao.js index 3314790f..f5edfe13 100644 --- a/lib/dao.js +++ b/lib/dao.js @@ -563,7 +563,7 @@ DataAccessObject.find = function find(params, cb) { // Promote the included model as a direct property var data = obj.__cachedRelations[inc]; if(Array.isArray(data)) { - data = new List(data, data[0] && [data[0].constructor], obj); + data = new List(data, null, obj); } obj.__data[inc] = data; });