loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request '[API] Add error messages to dispatch API' (#4768) from gusted/forgejo-fix-dispatch-api-error into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4768
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>

+2 -2
+2 -2
routers/api/v1/repo/action.go
··· 621 621 name := ctx.Params("workflowname") 622 622 623 623 if len(opt.Ref) == 0 { 624 - ctx.Error(http.StatusBadRequest, "ref", nil) 624 + ctx.Error(http.StatusBadRequest, "ref", "ref is empty") 625 625 return 626 626 } else if len(name) == 0 { 627 - ctx.Error(http.StatusBadRequest, "workflowname", nil) 627 + ctx.Error(http.StatusBadRequest, "workflowname", "workflow name is empty") 628 628 return 629 629 } 630 630