change how constants are exposed

This commit is contained in:
riley
2017-05-16 10:15:43 -06:00
parent 4d3788e4c9
commit 62e8e4c5c5
4 changed files with 27 additions and 37 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
module.exports = {
constants: [],
reducer: (perm, user, context, initialState) => {
reducer: function (perm, user, context, initialState) {
// this runs before everything
if (user.status === 'BANNED') {