fix field

This commit is contained in:
Andre Medeiros 2022-07-13 11:31:31 -04:00
parent ffcc1e534e
commit d1d00d158d

View file

@ -416,7 +416,7 @@ func enqueueAccounts(ctx context.Context, logger *zap.Logger, statsd *statsd.Cli
FOR UPDATE SKIP LOCKED
LIMIT %d
)
RETURNING accounts.account_id`, maxNotificationChecks)
RETURNING accounts.reddit_account_id`, maxNotificationChecks)
rows, err := tx.Query(ctx, stmt, now, next)
if err != nil {
return err