Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/offshore/query/composite.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module.exports = {

// Return an instance of Model
var model = new self._model(results);
return cb(null, model);
return cb(null, model, false);
}

// Create a new record if nothing is found.
Expand All @@ -81,7 +81,7 @@ module.exports = {

q2.exec(function(err, result) {
if (err) return cb(err);
return cb(null, result);
return cb(null, result, true);
});
});
}
Expand Down