Skip to content

Commit

Permalink
Variable name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jhs committed Feb 23, 2011
1 parent bec0507 commit 65060cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.js
Expand Up @@ -123,7 +123,7 @@ function Session(session) {
if(helpers.role(role)) {
if(perm_test === 'reader')
return true;
var reason = 'reader role: ' + JSON.stringify(name);
var reason = 'reader role: ' + JSON.stringify(role);
rights.push({type:'reader', reason:reason, right:'read all docs, change non-ddocs per validate_doc_update'});
}
})
Expand Down

0 comments on commit 65060cf

Please sign in to comment.