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

Commit

Permalink
Merge pull request #441 from blockchain/chart-endpoint-change
Browse files Browse the repository at this point in the history
feat(API): change endpoint name
  • Loading branch information
plondon authored Sep 15, 2017
2 parents bc13b55 + 1b0d32e commit f88f009
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}`);

This comment has been minimized.

Copy link
@mikeyjoe

mikeyjoe Sep 15, 2017

Bitcoin

};

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

1 comment on commit f88f009

@kuanlim
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

f880889

Please sign in to comment.