remove unused var
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
|||||||
SpotSymbolInfo,
|
SpotSymbolInfo,
|
||||||
} from './types';
|
} from './types';
|
||||||
import BaseRestClient from './util/BaseRestClient';
|
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
|
* @deprecated Use SpotV3Client instead, which leverages the newer v3 APIs
|
||||||
@@ -103,10 +103,7 @@ export class SpotClient extends BaseRestClient {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
submitOrder(params: NewSpotOrder): Promise<APIResponse<any>> {
|
submitOrder(params: NewSpotOrder): Promise<APIResponse<any>> {
|
||||||
return this.postPrivate('/spot/v1/order', {
|
return this.postPrivate('/spot/v1/order', params);
|
||||||
...params,
|
|
||||||
agentSource,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getOrder(params: SpotOrderQueryById): Promise<APIResponse<any>> {
|
getOrder(params: SpotOrderQueryById): Promise<APIResponse<any>> {
|
||||||
|
|||||||
Reference in New Issue
Block a user