Skip to content

Commit

Permalink
Added patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharpz7 committed Jan 2, 2021
1 parent 8380340 commit e2738b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e2738b8

Please sign in to comment.