mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 11:47:42 +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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
newAccount := account.CheckCount == 0
|
|
||||||
previousNextCheck := account.NextNotificationCheckAt
|
|
||||||
|
|
||||||
account.CheckCount++
|
account.CheckCount++
|
||||||
|
newAccount := account.CheckCount == 1
|
||||||
|
|
||||||
defer func(acc *domain.Account) {
|
defer func(acc *domain.Account) {
|
||||||
if err = nc.accountRepo.Update(nc, acc); err != nil {
|
if err = nc.accountRepo.Update(nc, acc); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue