Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
lir0115 committed Feb 19, 2024
1 parent 656a709 commit 573a059
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/src/decorator/web/paramMapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ export const createRequestParamDecorator = function (
pipes: pipesOrOptions as Array<PipeUnionTransform>,
};
}
if(pipesOrOptions.throwError == null)
pipesOrOptions.throwError=true
if (pipesOrOptions.throwError == null) pipesOrOptions.throwError = true;

return createParamMapping(RouteParamTypes.CUSTOM)(transform, pipesOrOptions);
};
Expand Down

0 comments on commit 573a059

Please sign in to comment.