Fix Gitea pagination

This commit is contained in:
Ryan McGuire 2024-01-18 11:10:18 -05:00
parent 9f66001a66
commit 0968b383ac

View File

@ -36,7 +36,7 @@ func (r *GiteaRemote) StreamProjects(pi *load.ProgressInfo, opts *remote.RemoteQ
TotalProjects: pi.NumProjects,
}
if resp.LastPage == resp.NextPage {
if resp.NextPage == 0 {
break
}