Mark account as seen

This commit is contained in:
Andre Medeiros 2022-05-27 14:58:41 -04:00
parent c8dd76e1ab
commit ac72c979a6

View file

@ -164,6 +164,7 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
newAccount := account.CheckCount == 0 newAccount := account.CheckCount == 0
previousNextCheck := account.NextNotificationCheckAt previousNextCheck := account.NextNotificationCheckAt
account.NextNotificationCheckAt = now
account.CheckCount++ account.CheckCount++