Merge pull request #111 from EricCrosson/master

doc: fix typo
This commit is contained in:
Tiago
2021-09-11 21:20:48 +01:00
committed by jeffminsungkim
2 changed files with 2 additions and 1 deletions

View File

@@ -194,7 +194,7 @@ const API_KEY = 'xxx';
const PRIVATE_KEY = 'yyy'; const PRIVATE_KEY = 'yyy';
const useLivenet = false; const useLivenet = false;
const client = new javascript( const client = new SpotClient(
API_KEY, API_KEY,
PRIVATE_KEY, PRIVATE_KEY,

View File

@@ -294,6 +294,7 @@ export class InverseClient extends SharedEndpoints {
setUserLeverage(params: { setUserLeverage(params: {
symbol: string; symbol: string;
leverage: number; leverage: number;
leverage_only?: boolean;
}): GenericAPIResponse { }): GenericAPIResponse {
return this.requestWrapper.post('v2/private/position/leverage/save', params); return this.requestWrapper.post('v2/private/position/leverage/save', params);
} }