mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
change how constants are exposed
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user