fix app.Use
This commit is contained in:
parent
83372c8d17
commit
410a786497
2 changed files with 2 additions and 2 deletions
BIN
api/bun.lockb
BIN
api/bun.lockb
Binary file not shown.
|
@ -1,7 +1,7 @@
|
|||
import { Request } from "express";
|
||||
import { Request, Response } from "express";
|
||||
import { app, logger } from "..";
|
||||
|
||||
app.use('*', (req: Request, next: () => void) => {
|
||||
app.use('*', (req: Request, _res: Response, next: () => void) => {
|
||||
logger.debug(`${req.method} ${req.url}`);
|
||||
next();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue