1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-14 22:47:21 +00:00

Fix page and missing return on unadopted repos API (#18848) (#18927)

* Fix page and missing return on unadopted repos API

Page must be 1 if it's not specified and it should return after sending an internal server error.

* Allow ignore pages
This commit is contained in:
qwerty287
2022-02-27 13:18:23 +01:00
committed by GitHub
parent 4fb718d405
commit 054bc55a1c
5 changed files with 6 additions and 3 deletions

View File

@ -61,7 +61,6 @@ type Version struct {
// update minDBVersion accordingly
var migrations = []Migration{
// Gitea 1.5.0 ends at v69
// v70 -> v71
NewMigration("add issue_dependencies", addIssueDependencies),
// v71 -> v72