have function params in the correct order

This commit is contained in:
riley
2017-05-16 15:41:27 -06:00
parent c7e9fe3f5f
commit 31647fb2f0
7 changed files with 32 additions and 31 deletions
+1 -3
View File
@@ -1,11 +1,9 @@
module.exports = {
reducer: function (perm, user, context, initialState) {
checkRoles: function (user, perm, context) {
// this runs before everything
if (user.status === 'BANNED') {
return false;
}
return initialState;
}
};