mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
refactor: remove redundant err declarations (#32381)
This commit is contained in:
@@ -94,7 +94,6 @@ func ActivityAuthors(ctx *context.Context) {
|
||||
timeFrom = timeUntil.Add(-time.Hour * 168)
|
||||
}
|
||||
|
||||
var err error
|
||||
authors, err := activities_model.GetActivityStatsTopAuthors(ctx, ctx.Repo.Repository, timeFrom, 10)
|
||||
if err != nil {
|
||||
ctx.ServerError("GetActivityStatsTopAuthors", err)
|
||||
|
Reference in New Issue
Block a user