From 2b9977d843bc5717bafac891977118225a699961 Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 9 Apr 2024 11:46:11 +0200 Subject: [PATCH] Linting --- routers/web/repo/repo.go | 1 - 1 file changed, 1 deletion(-) diff --git a/routers/web/repo/repo.go b/routers/web/repo/repo.go index 4f5a1a0c58..18ea587708 100644 --- a/routers/web/repo/repo.go +++ b/routers/web/repo/repo.go @@ -333,7 +333,6 @@ func ActionWatch(watch bool) func(ctx *context.Context) { func ActionStar(star bool) func(ctx *context.Context) { return func(ctx *context.Context) { err := repo_service.StarRepoAndFederate(ctx, *ctx.Doer, ctx.Repo.Repository.ID, star) - if err != nil { ctx.ServerError(fmt.Sprintf("Action (star, %t)", star), err) return