Fix incorrect condition
This commit is contained in:
parent
980c5c63df
commit
e2d33f680e
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ func refreshFeeds(store *storage.Storage) {
|
|||
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.Int64("feed_id", job.FeedID),
|
||||
slog.Int64("user_id", job.UserID),
|
||||
|
|
Loading…
Reference in a new issue