mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 20:26:19 +01:00
Linting
This commit is contained in:
parent
511ef0bf5b
commit
2b9977d843
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue