fix(#240): remove another pointer mutation
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user