diff --git a/src/api/filters/http-exception.filter.ts b/src/api/filters/http-exception.filter.ts index 6ed34091d..50daf4cc3 100644 --- a/src/api/filters/http-exception.filter.ts +++ b/src/api/filters/http-exception.filter.ts @@ -18,7 +18,7 @@ export class HttpExceptionFilter implements ExceptionFilter { catch(exception: HttpException, host: ArgumentsHost) { const ctx = host.switchToHttp(); - const req = ctx.getResponse(); + const req = ctx.getRequest(); const res = ctx.getResponse(); const statusCode = exception.getStatus();