From 552655f049511476f8406b8a13cfaf73916634a8 Mon Sep 17 00:00:00 2001 From: Kaushik Rishi Manchukonda Date: Wed, 4 Oct 2023 23:19:33 +0530 Subject: [PATCH] pushing error --- template/src/api/handlers/$$channel$$.js | 1 - 1 file changed, 1 deletion(-) 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); } /**