Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
feat(API): change endpoint name
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Welber committed Sep 15, 2017
1 parent bc13b55 commit 1b0d32e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ API.prototype.incrementBtcEthUsageStats = function (btcBalance, ethBalance) {
};

API.prototype.getPriceChartData = function (params) {
return this.requestApi(`historicalprices?base=${params.base}&quote=${params.quote}&start=${params.start}&scale=${params.scale}`);
return this.requestApi(`price/index-series?base=${params.base}&quote=${params.quote}&start=${params.start}&scale=${params.scale}`);
};

API.prototype.incrementBuyLimitCounter = function (amount) {
Expand Down

0 comments on commit 1b0d32e

Please sign in to comment.