From 7fc2edd10fc77230beca703a168714b059e41d52 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Wed, 26 Jun 2024 15:09:59 +0200 Subject: [PATCH] http: Update radicle crate dependency to 0.11.1 --- radicle-httpd/Cargo.toml | 2 +- radicle-httpd/src/api/v1/node.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/radicle-httpd/Cargo.toml b/radicle-httpd/Cargo.toml index b2f14755a..65b90814e 100644 --- a/radicle-httpd/Cargo.toml +++ b/radicle-httpd/Cargo.toml @@ -47,7 +47,7 @@ ureq = { version = "2.9", default-features = false, features = ["json"] } url = { version = "2.5.0" } [dependencies.radicle] -version = "0.11.0" +version = "0.11.1" [dependencies.radicle-term] version = "0.10.0" diff --git a/radicle-httpd/src/api/v1/node.rs b/radicle-httpd/src/api/v1/node.rs index 3e2382384..059186129 100644 --- a/radicle-httpd/src/api/v1/node.rs +++ b/radicle-httpd/src/api/v1/node.rs @@ -76,7 +76,7 @@ async fn nodes_inventory_handler( Path(nid): Path, ) -> impl IntoResponse { let db = &ctx.profile.database()?; - let resources = db.get_resources(&nid)?; + let resources = db.get_inventory(&nid)?; Ok::<_, Error>(Json(resources)) }