We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1158561 commit 4317115Copy full SHA for 4317115
src/logger/logging.interceptor.ts
@@ -11,7 +11,7 @@ export class LoggingInterceptor implements NestInterceptor {
11
intercept(context: ExecutionContext, next: CallHandler): Observable<void> {
12
const req = context.switchToHttp().getRequest<Request>();
13
14
- // @ts-ignore
+ //@ts-expect-error: userEntity is modified in authGuard
15
const userId = req?.userEntity?.id;
16
17
const commonMessage = `${req.method} "${req.originalUrl}" (IP address: ${req.ip}, requestUserId: ${userId})`;
0 commit comments