should run tests

This commit is contained in:
Andre Medeiros 2022-07-13 13:47:52 -04:00
parent 131205a0cb
commit 5e573c831a

View file

@ -160,10 +160,8 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
return
}
newAccount := account.CheckCount == 0
previousNextCheck := account.NextNotificationCheckAt
account.CheckCount++
newAccount := account.CheckCount == 1
defer func(acc *domain.Account) {
if err = nc.accountRepo.Update(nc, acc); err != nil {