0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00
This commit is contained in:
erik 2024-04-09 11:46:11 +02:00
parent 511ef0bf5b
commit 2b9977d843

View file

@ -333,7 +333,6 @@ func ActionWatch(watch bool) func(ctx *context.Context) {
func ActionStar(star bool) func(ctx *context.Context) { func ActionStar(star bool) func(ctx *context.Context) {
return func(ctx *context.Context) { return func(ctx *context.Context) {
err := repo_service.StarRepoAndFederate(ctx, *ctx.Doer, ctx.Repo.Repository.ID, star) err := repo_service.StarRepoAndFederate(ctx, *ctx.Doer, ctx.Repo.Repository.ID, star)
if err != nil { if err != nil {
ctx.ServerError(fmt.Sprintf("Action (star, %t)", star), err) ctx.ServerError(fmt.Sprintf("Action (star, %t)", star), err)
return return