Remove unnecessary log
This commit is contained in:
@@ -30,7 +30,6 @@ public class WhatsAppNotifier {
|
|||||||
ArrayList<WhatsAppReminder> reminders = TippligaSQLConnector.getInstance().getNextWhatsAppReminders(24);
|
ArrayList<WhatsAppReminder> reminders = TippligaSQLConnector.getInstance().getNextWhatsAppReminders(24);
|
||||||
reminders.addAll(TippligaSQLConnector.getInstance().getNextWhatsAppReminders(2));
|
reminders.addAll(TippligaSQLConnector.getInstance().getNextWhatsAppReminders(2));
|
||||||
reminders.forEach(reminder -> {
|
reminders.forEach(reminder -> {
|
||||||
logger.info("Sende WhatsApp Erinnerung an " + reminder.username());
|
|
||||||
boolean success = sendMessage(reminder);
|
boolean success = sendMessage(reminder);
|
||||||
if (success) {
|
if (success) {
|
||||||
markReminderAsSent(reminder);
|
markReminderAsSent(reminder);
|
||||||
|
|||||||
Reference in New Issue
Block a user