mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-21 19:37:41 +00:00
Mark account as seen
This commit is contained in:
parent
c8dd76e1ab
commit
ac72c979a6
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
|
|||
|
||||
newAccount := account.CheckCount == 0
|
||||
previousNextCheck := account.NextNotificationCheckAt
|
||||
account.NextNotificationCheckAt = now
|
||||
|
||||
account.CheckCount++
|
||||
|
||||
|
|
Loading…
Reference in a new issue