Skip to content

Commit 6b241be

Browse files
committed
Upgrade to octocrab 0.20
1 parent aadc035 commit 6b241be

File tree

3 files changed

+40
-7
lines changed

3 files changed

+40
-7
lines changed

ui/Cargo.lock

Lines changed: 38 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ axum = { version = "0.6", features = ["headers", "ws"] }
1414
dotenv = "0.15.0"
1515
futures = "0.3.21"
1616
lazy_static = "1.0.0"
17-
octocrab = "0.19"
17+
octocrab = "0.20"
1818
openssl-probe = "0.1.2"
1919
petgraph = "0.6.0"
2020
prometheus = "0.13.0"

ui/src/gist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ impl From<octocrab::models::gists::Gist> for Gist {
1414
let mut files: Vec<_> = other
1515
.files
1616
.into_iter()
17-
.map(|(name, file)| (name, file.content))
17+
.map(|(name, file)| (name, file.content.unwrap_or_default()))
1818
.collect();
1919

2020
files.sort_by(|(name1, _), (name2, _)| name1.cmp(name2));

0 commit comments

Comments
 (0)