have function params in the correct order

This commit is contained in:
riley committed 2017-05-16 15:41:27 -06:00
1 parent c7e9fe3f5f
commit 31647fb2f0
7 files changed
+32 -31

No files matched your search

+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;
}
};