Skip to content

Commit

Permalink
fix - updated vulnerability example
Browse files Browse the repository at this point in the history
  • Loading branch information
gcmurphy committed May 19, 2022
1 parent 8c82215 commit 9e53a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/vulnerability.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#[async_std::main]
async fn main() -> Result<(), osv::ApiError> {
let vuln = osv::get_vulnerability("GHSA-jfh8-c2jp-5v3q").await?;
let vuln = osv::vulnerability("GHSA-jfh8-c2jp-5v3q").await?;
println!("{:#?}", vuln);
Ok(())
}

0 comments on commit 9e53a87

Please sign in to comment.