1
0
Fork 0
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:
Michael Kriese 2024-11-22 01:59:03 +01:00 committed by Kwonunn
parent 21ca8102fa
commit 7458ddfaf4

View file

@ -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")