From 995a6405ef48eed5baef69476924db601dfd788d Mon Sep 17 00:00:00 2001 From: John BEPPU Date: Wed, 12 Aug 2020 10:57:14 -0700 Subject: [PATCH] Fix typo: Conditioanl s/Conditioanl/Conditional/; #6 --- doc/rest-client.md | 2 +- lib/rest-client.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/rest-client.md b/doc/rest-client.md index 1f4db12..19e2255 100644 --- a/doc/rest-client.md +++ b/doc/rest-client.md @@ -34,7 +34,7 @@ If you only use the [public endpoints](#public-endpoints) you can omit key and s #### async placeConditionalOrder(params) [See bybit documentation](https://bybit-exchange.github.io/docs/inverse/#t-placecond) -#### async getConditioanlOrder(params) +#### async getConditionalOrder(params) [See bybit documentation](https://bybit-exchange.github.io/docs/inverse/#t-getcond) #### async cancelConditionalOrder(params) diff --git a/lib/rest-client.js b/lib/rest-client.js index 58d7f2c..8902687 100644 --- a/lib/rest-client.js +++ b/lib/rest-client.js @@ -72,7 +72,7 @@ module.exports = class RestClient { return await this.request.post('open-api/stop-order/create', params); } - async getConditioanlOrder(params) { + async getConditionalOrder(params) { return await this.request.get('open-api/stop-order/list', params); }