Skip to content

Commit cdda539

Browse files
committed
docs(middleware): update example
1 parent 459bbc8 commit cdda539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/middlewares.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ import { FastifyRequest, FastifyReply } from 'fastify';
6161

6262
@Injectable()
6363
export class LoggerMiddleware implements NestMiddleware {
64-
use(req: FastifyRequest, res: FastifyReply, next: () => void) {
64+
use(req: FastifyRequest['raw'], res: FastifyReply['raw'], next: () => void) {
6565
console.log('Request...');
6666
next();
6767
}

0 commit comments

Comments
 (0)