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)) }