Skip to content

Commit

Permalink
Fixed instance _id condition inferrence
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Dec 13, 2013
1 parent 36ad1cc commit 9285c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Model.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Model.prototype.uniqueConditions = function(document) {
this.toSource(testDoc);

var conditions = {
_id: testDoc[_id]
_id: testDoc._id
};
return conditions;
};
Expand Down

0 comments on commit 9285c9b

Please sign in to comment.