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