From ac72c979a62bc7d90af7e7fda681b37eff692fb6 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Fri, 27 May 2022 14:58:41 -0400 Subject: [PATCH] Mark account as seen --- internal/worker/notifications.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/worker/notifications.go b/internal/worker/notifications.go index 750af91..2a55667 100644 --- a/internal/worker/notifications.go +++ b/internal/worker/notifications.go @@ -164,6 +164,7 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) { newAccount := account.CheckCount == 0 previousNextCheck := account.NextNotificationCheckAt + account.NextNotificationCheckAt = now account.CheckCount++