Fix Gitea pagination
This commit is contained in:
parent
9f66001a66
commit
0968b383ac
@ -36,7 +36,7 @@ func (r *GiteaRemote) StreamProjects(pi *load.ProgressInfo, opts *remote.RemoteQ
|
|||||||
TotalProjects: pi.NumProjects,
|
TotalProjects: pi.NumProjects,
|
||||||
}
|
}
|
||||||
|
|
||||||
if resp.LastPage == resp.NextPage {
|
if resp.NextPage == 0 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user