diff --git a/template/src/api/handlers/$$channel$$.js b/template/src/api/handlers/$$channel$$.js index 037fc5e8..9b2fd4c2 100644 --- a/template/src/api/handlers/$$channel$$.js +++ b/template/src/api/handlers/$$channel$$.js @@ -72,7 +72,6 @@ handler.{{ channel.subscribe().id() | convertOpertionIdToMiddlewareFn }} = (midd if (typeof middlewareFn !== 'function') { throw new TypeError('middlewareFn must be a function'); } - {{ channel.subscribe().id() }}Middlewares.push(middlewareFn); } /**