From 36743773d34dcc30c4c337316e56f9ff2cd1e9d4 Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Mon, 19 Sep 2022 00:15:03 +0100 Subject: [PATCH] remove unused var --- src/spot-client.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/spot-client.ts b/src/spot-client.ts index e87bb6a..b4a8871 100644 --- a/src/spot-client.ts +++ b/src/spot-client.ts @@ -10,7 +10,7 @@ import { SpotSymbolInfo, } from './types'; import BaseRestClient from './util/BaseRestClient'; -import { agentSource, REST_CLIENT_TYPE_ENUM } from './util/requestUtils'; +import { REST_CLIENT_TYPE_ENUM } from './util/requestUtils'; /** * @deprecated Use SpotV3Client instead, which leverages the newer v3 APIs @@ -103,10 +103,7 @@ export class SpotClient extends BaseRestClient { */ submitOrder(params: NewSpotOrder): Promise> { - return this.postPrivate('/spot/v1/order', { - ...params, - agentSource, - }); + return this.postPrivate('/spot/v1/order', params); } getOrder(params: SpotOrderQueryById): Promise> {