Skip to content

Commit

Permalink
downgrade octocrab as a temporary workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
jhspetersson committed Dec 24, 2024
1 parent 046d931 commit 36a2a80
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 31 deletions.
100 changes: 71 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ git2 = "0.19.0"
gitlab = "0.1704.1"
graphql_client = { version = "0.14", features = ["reqwest-blocking"] }
nu-ansi-term = "0.50"
octocrab = { version = "0.41", features = ["stream"] }
octocrab = { version = "0.40", features = ["stream"] }
regex = "1.1"
reqwest = { version = "0.11", features = ["blocking", "json"] }
serde = { version = "1.0", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion src/connectors/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ async fn create_issue(user: &String, repo: &String, task: &Task) -> Result<Strin
}
if let Some(labels) = task.get_labels() {
if !labels.is_empty() {
let _ = prepare_labels(user, repo, labels, &crab).await;
prepare_labels(user, repo, labels, &crab).await;
let labels = labels.iter().map(|l| l.get_name()).collect::<Vec<_>>();
create_builder = create_builder.labels(labels);
}
Expand Down

0 comments on commit 36a2a80

Please sign in to comment.