From 165faac7f496417e8edfb9d6b873b0baf119f72d Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Wed, 17 Jun 2020 10:54:55 +0100 Subject: [PATCH] find endpoint typo --- lib/rest-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rest-client.js b/lib/rest-client.js index e2da1ed..96839bc 100644 --- a/lib/rest-client.js +++ b/lib/rest-client.js @@ -95,7 +95,7 @@ module.exports = class RestClient { assert(params.stop_order_id || params.order_link_id, 'Parameter order_id OR order_link_id is required'); assert(params.symbol, 'Parameter symbol is required'); - return await this.request.get('GET /v2/private/stop-order', params); + return await this.request.get('v2/private/stop-order', params); } async getUserLeverage() {