fix: Fix conditional check for anthroveFaves length
This commit is contained in:
parent
44137a7251
commit
263d65adc1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user