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 encodeValues = false;
|
||||
|
||||
res.serializedParams = serializeParams(
|
||||
res.originalParams,
|
||||
strictParamValidation,
|
||||
sortProperties,
|
||||
encodeSerialisedValues
|
||||
encodeValues
|
||||
);
|
||||
res.sign = await signMessage(res.serializedParams, this.secret);
|
||||
res.paramsWithSign = {
|
||||
|
||||
Reference in New Issue
Block a user