mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-02 12:52:12 +00:00
Add missed return after ctx.ServerError
(#31130)
(cherry picked from commit b6f15c7948ac3d09977350de83ec91d5789ea083)
This commit is contained in:
parent
ca0921a95a
commit
344bf48c9b
5 changed files with 5 additions and 0 deletions
|
@ -94,6 +94,7 @@ func UnadoptedRepos(ctx *context.Context) {
|
|||
repoNames, count, err := repo_service.ListUnadoptedRepositories(ctx, q, &opts)
|
||||
if err != nil {
|
||||
ctx.ServerError("ListUnadoptedRepositories", err)
|
||||
return
|
||||
}
|
||||
ctx.Data["Dirs"] = repoNames
|
||||
pager := context.NewPagination(count, opts.PageSize, opts.Page, 5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue