fix: comparison logic in algorithm to correctly break the loop
This commit is contained in:
parent
996ec30de1
commit
9d950cf31d
@ -67,7 +67,7 @@ func algorithm(ctx context.Context, plugInterface Plug, userSource models.UserSo
|
|||||||
|
|
||||||
outer:
|
outer:
|
||||||
for {
|
for {
|
||||||
if anthroveUserFavCount < profile.UserFavoriteCount && profile.UserFavoriteCount > 0 {
|
if anthroveUserFavCount >= profile.UserFavoriteCount && profile.UserFavoriteCount > 0 {
|
||||||
break outer
|
break outer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user