mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
fix: join org and repo
This commit is contained in:
parent
21ca8102fa
commit
7458ddfaf4
1 changed files with 2 additions and 2 deletions
|
@ -16,13 +16,13 @@ import (
|
|||
|
||||
var (
|
||||
ErrValidation = errors.New("validation error")
|
||||
cachePrefixPath = "repo:/run:/ts:/mac:/"
|
||||
cachePrefixPath = "org:/repo:/run:/ts:/mac:/"
|
||||
)
|
||||
|
||||
func (h *Handler) validateMac(params httprouter.Params) (string, error) {
|
||||
ts := params.ByName("ts")
|
||||
|
||||
repo := params.ByName("repo")
|
||||
repo := params.ByName("org") + "/" + params.ByName("repo")
|
||||
run := params.ByName("run")
|
||||
messageMAC := params.ByName("mac")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue