fix: Fix conditional check for anthroveFaves length
All checks were successful
Gitea Build Check / Build (push) Successful in 59s
Gitea Build Check / Build (pull_request) Successful in 56s

This commit is contained in:
SoXX 2024-10-28 21:29:25 +01:00
parent 44137a7251
commit 263d65adc1

View File

@ -99,7 +99,7 @@ outer:
return taskSummery, err return taskSummery, err
} }
if len(anthroveFaves) > 0 { if len(anthroveFaves) < 0 {
span.AddEvent("No more favorites found to add") span.AddEvent("No more favorites found to add")
log.WithContext(ctx).WithFields(basicLoggingInfo).Info("No more favorites found") log.WithContext(ctx).WithFields(basicLoggingInfo).Info("No more favorites found")
break outer break outer