Fix Gitea pagination
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user