Skip to content

Commit

Permalink
Merge pull request #51 from nachoalthabe/master
Browse files Browse the repository at this point in the history
fix #50
  • Loading branch information
Reggino committed Oct 23, 2014
2 parents 71cf99f + f39dc97 commit 40fb78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -109,7 +109,7 @@ Grid.prototype.exist = function (options, callback) {
if (!_id) {
_id = options.filename;
}
return this.mongo.GridStore.exist(this.db, _id, callback);
return this.mongo.GridStore.exist(this.db, _id, options.root, callback);
}

/**
Expand Down

0 comments on commit 40fb78b

Please sign in to comment.