diff --git a/remote/gitea/fixtures/handler.go b/remote/gitea/fixtures/handler.go index d8c93ed7f..21e64647c 100644 --- a/remote/gitea/fixtures/handler.go +++ b/remote/gitea/fixtures/handler.go @@ -96,7 +96,12 @@ func getUserRepos(c *gin.Context) { case "token repos_not_found": c.String(404, "") default: - c.String(200, userRepoPayload) + page := c.Query("page") + if page != "" && page != "1" { + c.String(200, "[]") + } else { + c.String(200, userRepoPayload) + } } }