Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 4432b9c

Browse files
Fix small bug in labeler
One URL used the `repo` parameter, but the other didn't.
1 parent 38883be commit 4432b9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labeler/src/github.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pub(crate) fn get_labeled_issues(
102102
if pages > 1 {
103103
for i in 2..=pages {
104104
let url = format!(
105-
"https://api.github.com/repos/rust-lang/rust/issues?labels={label_name}&state=all&page={i}"
105+
"https://api.github.com/repos/{repo}/issues?labels={label_name}&state=all&page={i}"
106106
);
107107
let mut paged_issues: Vec<Issue> = CLIENT
108108
.get(&url)

0 commit comments

Comments
 (0)