We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a210af commit ad7e126Copy full SHA for ad7e126
routers/web/repo/actions/badge.go
@@ -39,7 +39,7 @@ func GetWorkflowBadge(ctx *context.Context) {
39
40
ctx.Data["Badge"] = b
41
ctx.RespHeader().Set("Content-Type", "image/svg+xml")
42
- switch ctx.Req.URL.Query().Get("style") {
+ switch style {
43
case badge.StyleFlat:
44
ctx.HTML(http.StatusOK, "shared/actions/runner_badge_flat")
45
case badge.StyleFlatSquare:
0 commit comments