Merge pull request #114 from jeffminsungkim/inverse-client/missing-param
add missing optional param for set leverage method
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user