Skip to content

Commit 33f0e01

Browse files
fix: Update src/ActionParameterHandler.ts Co-authored-by: Rustam Mamadaminov <[email protected]>
1 parent c4bb9c8 commit 33f0e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ActionParameterHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class ActionParameterHandler<T extends BaseDriver> {
9696
protected async normalizeParamValue(value: any, param: ParamMetadata): Promise<any> {
9797
if (value === null || value === undefined) return value;
9898

99-
const isNormalisationNeeded =
99+
const isNormalizationNeeded =
100100
typeof value === 'object' && ['queries', 'headers', 'params', 'cookies'].includes(param.type);
101101
const isTargetPrimitive = ['number', 'string', 'boolean'].includes(param.targetName);
102102
const isTransformationNeeded = (param.parse || param.isTargetObject) && param.type !== 'param';

0 commit comments

Comments
 (0)