From 9e53a87c71195820e69e181c8aa0aa00dc6ea634 Mon Sep 17 00:00:00 2001 From: Grant Murphy Date: Thu, 19 May 2022 14:59:09 +1000 Subject: [PATCH] fix - updated vulnerability example --- examples/vulnerability.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vulnerability.rs b/examples/vulnerability.rs index 94bbcf2..706f545 100644 --- a/examples/vulnerability.rs +++ b/examples/vulnerability.rs @@ -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(()) }