mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 23:47:44 +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
|
newAccount := account.CheckCount == 0
|
||||||
previousNextCheck := account.NextNotificationCheckAt
|
previousNextCheck := account.NextNotificationCheckAt
|
||||||
|
account.NextNotificationCheckAt = now
|
||||||
|
|
||||||
account.CheckCount++
|
account.CheckCount++
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue