diff options
Diffstat (limited to 'src/github.rs')
-rw-r--r-- | src/github.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/github.rs b/src/github.rs index 731d261..83a5526 100644 --- a/src/github.rs +++ b/src/github.rs @@ -34,6 +34,7 @@ impl fmt::Display for CommitStatus { } pub fn update_commit_status( + github_token: &String, commit_ref: &CommitRef, state: &CommitStatus, target_url: String, @@ -68,7 +69,7 @@ pub fn update_commit_status( .header( Authorization( Bearer { - token: "token".to_owned() + token: github_token.to_owned() } ) ) |