Fix incorrect condition

This commit is contained in:
Frédéric Guillot 2024-01-10 21:23:38 -08:00
parent 980c5c63df
commit e2d33f680e

View file

@ -56,7 +56,7 @@ func refreshFeeds(store *storage.Storage) {
slog.Int("worker_id", workerID), slog.Int("worker_id", workerID),
) )
if localizedError := feedHandler.RefreshFeed(store, job.UserID, job.FeedID, false); err != nil { if localizedError := feedHandler.RefreshFeed(store, job.UserID, job.FeedID, false); localizedError != nil {
slog.Warn("Unable to refresh feed", slog.Warn("Unable to refresh feed",
slog.Int64("feed_id", job.FeedID), slog.Int64("feed_id", job.FeedID),
slog.Int64("user_id", job.UserID), slog.Int64("user_id", job.UserID),