diff --git a/kinode/packages/app_store/app_store/src/http_api.rs b/kinode/packages/app_store/app_store/src/http_api.rs index 1d13d439..3e1d4145 100644 --- a/kinode/packages/app_store/app_store/src/http_api.rs +++ b/kinode/packages/app_store/app_store/src/http_api.rs @@ -189,7 +189,7 @@ fn serve_paths( } Method::PUT => { // update an app - let pkg_listing: &PackageListing = state + let _pkg_listing: &PackageListing = state .get_listing(&package_id) .ok_or(anyhow::anyhow!("No package"))?; let pkg_state: &PackageState = state @@ -281,9 +281,7 @@ fn serve_paths( .expect("Package does not have metadata") .properties .mirrors - .as_ref() - .ok_or(anyhow::anyhow!("No mirrors for package {package_id}"))?; - + .as_ref(); // TODO select on FE let download_from = body_json .get("download_from") diff --git a/kinode/packages/app_store/app_store/src/lib.rs b/kinode/packages/app_store/app_store/src/lib.rs index 28b5f043..e1556e02 100644 --- a/kinode/packages/app_store/app_store/src/lib.rs +++ b/kinode/packages/app_store/app_store/src/lib.rs @@ -378,7 +378,7 @@ pub fn start_download( } fn handle_receive_download( - _our: &Address, + our: &Address, state: &mut State, package_name: &str, requested_packages: &mut HashMap,