1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

refactor: remove redundant err declarations (#32381)

This commit is contained in:
Oleksandr Redko
2024-10-30 21:36:24 +02:00
committed by GitHub
parent dd1f67491f
commit f4d3aaeeb9
11 changed files with 3 additions and 20 deletions

View File

@@ -111,7 +111,6 @@ func ListMyRepos(ctx *context.APIContext) {
IncludeDescription: true,
}
var err error
repos, count, err := repo_model.SearchRepository(ctx, opts)
if err != nil {
ctx.Error(http.StatusInternalServerError, "SearchRepository", err)