Skip to content

Commit

Permalink
Merge pull request #491 from jasonrsadler/fix/rewards_tests_prefix
Browse files Browse the repository at this point in the history
Rewards tests now use v2 endpoint for data
  • Loading branch information
NejcZdovc committed Sep 24, 2018
1 parent e8b5aba commit b81a458
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void BraveURLFetcher::DetermineURLResponsePath(std::string url) {
PREFIX_V2, braveledger_bat_helper::SERVER_TYPES::BALANCE)) == 0) {
SetResponseString(brave_test_resp::wallet_);
} else if (url.find(braveledger_bat_helper::buildURL(GET_SET_PROMOTION,
PREFIX_V1, braveledger_bat_helper::SERVER_TYPES::LEDGER)) == 0) {
PREFIX_V2, braveledger_bat_helper::SERVER_TYPES::LEDGER)) == 0) {
SetResponseString(brave_test_resp::grant_);
} else if (url.find(braveledger_bat_helper::buildURL(GET_PUBLISHERS_LIST_V1,
"", braveledger_bat_helper::SERVER_TYPES::PUBLISHER)) == 0) {
Expand Down

0 comments on commit b81a458

Please sign in to comment.