disable serialised value encoding for keyInBody method endpoints

This commit is contained in:
tiagosiebler
2022-11-16 15:07:07 +00:00
parent 909e36347e
commit 1515ce5067

View File

@@ -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 = {