about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/besadii/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/besadii/main.go b/ops/besadii/main.go
index 34b33f9cac1c..438dd91f5e8b 100644
--- a/ops/besadii/main.go
+++ b/ops/besadii/main.go
@@ -106,7 +106,7 @@ func triggerBuild(log *syslog.Writer, token, branch, commit string) {
 		os.Exit(1)
 	}
 
-	req.Header.Add("Authorization", token)
+	req.Header.Add("Authorization", "token " + token)
 	req.Header.Add("Content-Type", "application/json")
 
 	resp, err := http.DefaultClient.Do(req)