aboutsummaryrefslogtreecommitdiffstats
path: root/src/github.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/github.rs')
-rw-r--r--src/github.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/github.rs b/src/github.rs
index f8bf97d..d246c4e 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -33,7 +33,7 @@ impl fmt::Display for CommitStatus {
}
pub fn update_commit_status(
- repo_name: String,
+ organization_name: String,
commit_ref: CommitRef,
state: CommitStatus,
target_url: String,
@@ -55,7 +55,7 @@ pub fn update_commit_status(
&format!(
"{}/repos/{}/{}/statuses/{}",
API_URL,
- repo_name,
+ organization_name,
commit_ref.repo,
commit_ref.sha
)