From e2738b8de0eec543b483713f241ce5f515766fc1 Mon Sep 17 00:00:00 2001 From: Sharpz7 Date: Sat, 2 Jan 2021 18:20:11 +0000 Subject: [PATCH] Added patch --- src/jobs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jobs.go b/src/jobs.go index 4a87349..1b41f70 100644 --- a/src/jobs.go +++ b/src/jobs.go @@ -139,7 +139,7 @@ func (job *taskJob) DockerCmd() *exec.Cmd { if err != nil { handleAPI(err, job, "Failed to build request") } - req.Header.Set("Authorization", f.Token) + req.Header.Set("Authorization", "token "+f.Token) req.Header.Set("Accept", "application/vnd.github.v3.raw") resp, err := http.DefaultClient.Do(req)