disable serialised value encoding for keyInBody method endpoints
This commit is contained in:
@@ -381,12 +381,13 @@ export default abstract class BaseRestClient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const sortProperties = true;
|
const sortProperties = true;
|
||||||
|
const encodeValues = false;
|
||||||
|
|
||||||
res.serializedParams = serializeParams(
|
res.serializedParams = serializeParams(
|
||||||
res.originalParams,
|
res.originalParams,
|
||||||
strictParamValidation,
|
strictParamValidation,
|
||||||
sortProperties,
|
sortProperties,
|
||||||
encodeSerialisedValues
|
encodeValues
|
||||||
);
|
);
|
||||||
res.sign = await signMessage(res.serializedParams, this.secret);
|
res.sign = await signMessage(res.serializedParams, this.secret);
|
||||||
res.paramsWithSign = {
|
res.paramsWithSign = {
|
||||||
|
|||||||
Reference in New Issue
Block a user