fix(#240): remove another pointer mutation

This commit is contained in:
tiagosiebler
2023-03-21 12:20:44 +00:00
parent 802c02a553
commit 985652bf9e

View File

@@ -234,10 +234,6 @@ export default abstract class BaseRestClient {
// USDC endpoints, unified margin and a few others use a different way of authenticating requests (headers instead of params) // USDC endpoints, unified margin and a few others use a different way of authenticating requests (headers instead of params)
if (this.clientType === REST_CLIENT_TYPE_ENUM.v3) { if (this.clientType === REST_CLIENT_TYPE_ENUM.v3) {
if (!options.headers) {
options.headers = {};
}
const signResult = await this.prepareSignParams( const signResult = await this.prepareSignParams(
method, method,
'v5auth', 'v5auth',