fix(#100): linear getClosedPnl

This commit is contained in:
tiagosiebler
2021-06-13 21:09:46 +01:00
parent fed5d5c14d
commit cc3048b7ad
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "bybit-api",
"version": "2.0.5",
"version": "2.0.6",
"description": "Node.js connector for Bybit's Inverse & Linear REST APIs and WebSockets",
"main": "lib/index.js",
"types": "lib/index.d.ts",

View File

@@ -317,7 +317,7 @@ export class LinearClient extends SharedEndpoints {
page?: number;
limit?: number;
}): GenericAPIResponse {
return this.requestWrapper.get('private/linear/tpsl/switch-mode', params);
return this.requestWrapper.get('private/linear/trade/closed-pnl/list', params);
}
/**