Commit e83cf5fd authored by nanahira's avatar nanahira

fix

parent a636869b
......@@ -56,7 +56,7 @@ export namespace DoRegister {
export const middleware = registry.define(
'middleware',
(prepend, ctx, obj, key) =>
ctx.middleware((session, next) => obj[key](session, next), true),
ctx.middleware((session, next) => obj[key](session, next), prepend),
);
export const event = registry.define('onEvent', (data, ctx, obj, key) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment