Allow setting params having non-standard type
This commit is contained in:
1 parent
3f3fbd81d0
commit
4aa525754f
1 file changed
-6
@@ -75,12 +75,6 @@ export function sanitizeParameterValue(
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (parameterValue[1] != null) {
|
|
||||||
throw new Error(
|
|
||||||
`Parameter value type "${parameterValue[1]}" not recognized.`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
parameterValue[0] = JSON.parse(JSON.stringify(parameterValue[0]));
|
parameterValue[0] = JSON.parse(JSON.stringify(parameterValue[0]));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user