Skip to content

Commit

Permalink
Merge pull request #906 from brave/fixes-build-notifications
Browse files Browse the repository at this point in the history
Fixes build problem with notifications
  • Loading branch information
NejcZdovc authored Nov 14, 2018
2 parents 7dc258d + f0b6b59 commit dc657d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/brave_rewards/browser/rewards_service_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -566,14 +566,14 @@ void RewardsServiceImpl::OnReconcileComplete(ledger::Result result,
ledger::PUBLISHER_CATEGORY category,
const std::string& probi) {

RewardsNotificationService::RewardsNotificationArgs args;
RewardsNotificationsService::RewardsNotificationArgs args;
args.push_back(viewing_id);
args.push_back(std::to_string(result));
args.push_back(std::to_string(category));
args.push_back(probi);

notification_service_->AddNotification(
RewardsNotificationService::REWARDS_NOTIFICATION_AUTO_CONTRIBUTE,
rewards_notifications_service_->AddNotification(
RewardsNotificationsService::REWARDS_NOTIFICATION_AUTO_CONTRIBUTE,
args,
"contribution_" + viewing_id);

Expand Down

0 comments on commit dc657d5

Please sign in to comment.