diff --git a/packages/core/src/decorator/web/paramMapping.ts b/packages/core/src/decorator/web/paramMapping.ts index 4326e6d3510d..0aee57e0b93e 100644 --- a/packages/core/src/decorator/web/paramMapping.ts +++ b/packages/core/src/decorator/web/paramMapping.ts @@ -68,8 +68,7 @@ export const createRequestParamDecorator = function ( pipes: pipesOrOptions as Array, }; } - if(pipesOrOptions.throwError == null) - pipesOrOptions.throwError=true + if (pipesOrOptions.throwError == null) pipesOrOptions.throwError = true; return createParamMapping(RouteParamTypes.CUSTOM)(transform, pipesOrOptions); };