fix(v2): Remove custom hooks; fix(v1): Remove company from JWT context gen
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = {
|
||||
AppInit : initEvents, /// Dummy App Init
|
||||
hooks : {
|
||||
before: {
|
||||
/**Array of middleware functions*/
|
||||
/**Array of middleware functions or objects lile { endpoint, middleware }*/
|
||||
all : [],
|
||||
del : [],
|
||||
get : [ test ],
|
||||
@@ -29,17 +29,7 @@ module.exports = {
|
||||
},
|
||||
|
||||
after: {
|
||||
/**Array of middleware functions*/
|
||||
all : [],
|
||||
del : [],
|
||||
get : [],
|
||||
patch : [],
|
||||
post : [],
|
||||
put : []
|
||||
},
|
||||
|
||||
custom: {
|
||||
/**Array of objects like { endpoint, middleware }*/
|
||||
/**Array of middleware functions or objects lile { endpoint, middleware }*/
|
||||
all : [],
|
||||
del : [],
|
||||
get : [],
|
||||
|
||||
Reference in New Issue
Block a user