Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ public void createScheduledNotification(User user, NotificationType type, String
*/
@Transactional
public void createScheduledStockNotification(User user, Stock stock, NotificationType type,
String title, String body, Instant scheduledAt) {
createNotification(user, stock, type, title, body, null, null, null, scheduledAt);
String title, String body, Integer oldScore,
Integer newScore, Integer changeAbs, Instant scheduledAt) {
createNotification(user, stock, type, title, body, oldScore, newScore, changeAbs, scheduledAt);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ public void onScoreChanged(Integer stockId, int oldScore, int newScore) {
preference.getStock(),
NotificationType.SCORE_SPIKE,
title,
body,
body,
oldScore,
newScore,
delta,
scheduledAt
);
}
Expand Down