fix(ops/besadii): Send auth token in correct format
This commit is contained in:
parent
28563a747c
commit
8377fd48f5
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ func triggerBuild(log *syslog.Writer, token, branch, commit string) {
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
req.Header.Add("Authorization", token)
|
req.Header.Add("Authorization", "token " + token)
|
||||||
req.Header.Add("Content-Type", "application/json")
|
req.Header.Add("Content-Type", "application/json")
|
||||||
|
|
||||||
resp, err := http.DefaultClient.Do(req)
|
resp, err := http.DefaultClient.Do(req)
|
||||||
|
|
Loading…
Add table
Reference in a new issue