diff --git a/crates/ash_cli/src/console/blueprint.rs b/crates/ash_cli/src/console/blueprint.rs index 96239fc..f9d9cfc 100644 --- a/crates/ash_cli/src/console/blueprint.rs +++ b/crates/ash_cli/src/console/blueprint.rs @@ -79,7 +79,7 @@ fn add_project_regions( region.region.clone().unwrap_or_default() ); let response = task::block_on(async { - console::api::get_project_cloud_region_by_name( + console::api::get_project_cloud_region_by_id_or_name( api_config, project_name, ®ion_name.replace('/', "_"), diff --git a/crates/ash_cli/src/console/region.rs b/crates/ash_cli/src/console/region.rs index 01d9aae..2ea1b9c 100644 --- a/crates/ash_cli/src/console/region.rs +++ b/crates/ash_cli/src/console/region.rs @@ -184,7 +184,7 @@ fn info( let api_config = create_api_config_with_access_token(&mut console)?; let response = task::block_on(async { - console::api::get_project_cloud_region_by_name( + console::api::get_project_cloud_region_by_id_or_name( &api_config, project_id_or_name, ®ion_name.replace('/', "_"), @@ -232,7 +232,7 @@ fn remove( let spinner = spinner_with_message("Removing cloud region...".to_string()); let response = task::block_on(async { - console::api::remove_project_cloud_region_by_name( + console::api::remove_project_cloud_region_by_id_or_name( &api_config, project_id_or_name, ®ion_name.replace('/', "_"), diff --git a/crates/ash_sdk/Cargo.toml b/crates/ash_sdk/Cargo.toml index 5f5b27b..e14aa54 100644 --- a/crates/ash_sdk/Cargo.toml +++ b/crates/ash_sdk/Cargo.toml @@ -42,7 +42,7 @@ rustls-pemfile = "1.0.3" sha2 = "0.10.7" oauth2 = "4.4.2" url = "2.4.1" -ash_api = { version = "0.1.6" } +ash_api = { version = "0.1.7" } rcgen = "0.11.3" [dev-dependencies]