fix app.Use

This commit is contained in:
Shane C 2024-08-27 11:49:49 -04:00
parent 83372c8d17
commit 410a786497
Signed by: shane
GPG key ID: E46B5FEA35B22FF9
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -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();
});