diff --git a/api/src/extensions/channels/web/base-web-channel.ts b/api/src/extensions/channels/web/base-web-channel.ts index 8b22ec0c..9bc8274f 100644 --- a/api/src/extensions/channels/web/base-web-channel.ts +++ b/api/src/extensions/channels/web/base-web-channel.ts @@ -8,7 +8,7 @@ import { Injectable } from '@nestjs/common'; import { EventEmitter2, OnEvent } from '@nestjs/event-emitter'; -import { NextFunction, Request, Response } from 'express'; +import { Request, Response } from 'express'; import multer, { diskStorage, memoryStorage } from 'multer'; import { Socket } from 'socket.io'; import { v4 as uuidv4 } from 'uuid'; @@ -726,17 +726,6 @@ export default abstract class BaseWebChannelHandler< }; } - /** - * Custom channel middleware - * @param req - * @param res - * @param next - */ - async middleware(_req: Request, _res: Response, next: NextFunction) { - // Do nothing, override in channel - next(); - } - /** * Handle channel event (probably a message) *