mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-03 06:54:18 +00:00
fix badge branch selection
This commit is contained in:
@@ -33,7 +33,7 @@ func GetBadge(c web.C, w http.ResponseWriter, r *http.Request) {
|
||||
host = c.URLParams["host"]
|
||||
owner = c.URLParams["owner"]
|
||||
name = c.URLParams["name"]
|
||||
branch = c.URLParams["branch"]
|
||||
branch = r.FormValue("branch")
|
||||
)
|
||||
|
||||
// an SVG response is always served, even when error, so
|
||||
|
Reference in New Issue
Block a user