Skip to content

Commit

Permalink
fix: changes Module to module
Browse files Browse the repository at this point in the history
  • Loading branch information
cameroncking committed Aug 30, 2020
1 parent 9401336 commit 97d2bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var dataCapabilities = require('../data/capabilities');
* @param {String} cap capability name
* @returns true if the user's access meets the capability level, else false
*/
Module.exports.check = function(user, cap) {
module.exports.check = function(user, cap) {
if(cap in dataCapabilities) {
return user.access >= dataCapabilities[cap];
}
Expand Down

0 comments on commit 97d2bcb

Please sign in to comment.