mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 14:25:28 +00:00
should run tests
This commit is contained in:
parent
131205a0cb
commit
5e573c831a
1 changed files with 1 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue