mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: remove unused fn
This commit is contained in:
parent
79dcaadce8
commit
6f60903a7b
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
import { Injectable } from '@nestjs/common';
|
import { Injectable } from '@nestjs/common';
|
||||||
import { EventEmitter2, OnEvent } from '@nestjs/event-emitter';
|
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 multer, { diskStorage, memoryStorage } from 'multer';
|
||||||
import { Socket } from 'socket.io';
|
import { Socket } from 'socket.io';
|
||||||
import { v4 as uuidv4 } from 'uuid';
|
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)
|
* Handle channel event (probably a message)
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user