From 1b0d32e90f1aebf7075c60cdf543dd033f87ae36 Mon Sep 17 00:00:00 2001 From: Philip Welber Date: Fri, 15 Sep 2017 11:07:50 -0400 Subject: [PATCH] feat(API): change endpoint name --- src/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.js b/src/api.js index 3ae159d52..3e19bac6c 100644 --- a/src/api.js +++ b/src/api.js @@ -315,7 +315,7 @@ API.prototype.incrementBtcEthUsageStats = function (btcBalance, ethBalance) { }; API.prototype.getPriceChartData = function (params) { - return this.requestApi(`historicalprices?base=${params.base}"e=${params.quote}&start=${params.start}&scale=${params.scale}`); + return this.requestApi(`price/index-series?base=${params.base}"e=${params.quote}&start=${params.start}&scale=${params.scale}`); }; API.prototype.incrementBuyLimitCounter = function (amount) {