Merge pull request #114 from jeffminsungkim/inverse-client/missing-param

add missing optional param for set leverage method
This commit is contained in:
Tiago
2021-10-08 17:09:18 +01:00
committed by GitHub

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);
} }