From b32f24178f595c5e8aabe396796cb380530fc490 Mon Sep 17 00:00:00 2001 From: Troy Date: Thu, 14 May 2026 18:27:17 +0800 Subject: [PATCH] fix(setup): update API key management URL The exchange moved the API keys page to a new path. Extract the URL into a variable to avoid duplication. Co-Authored-By: Claude Opus 4.6 --- crates/cdcx-cli/src/groups/setup.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/cdcx-cli/src/groups/setup.rs b/crates/cdcx-cli/src/groups/setup.rs index 7bda7c2..4d492d0 100644 --- a/crates/cdcx-cli/src/groups/setup.rs +++ b/crates/cdcx-cli/src/groups/setup.rs @@ -200,14 +200,15 @@ pub async fn run_setup() -> Result<(), CdcxError> { }; // Step 4: API credentials + let api_keys_url = "https://crypto.com/exchange/user/account-management/account-api-management"; println!(); if existing.is_some() { println!(" Enter your API credentials from the Crypto.com Exchange."); - println!(" (Settings > API Keys at https://crypto.com/exchange/personal/api-management)"); + println!(" (Settings > API Keys at {api_keys_url})"); println!(" Press Enter to leave existing credentials unchanged."); } else { println!(" Enter your API credentials from the Crypto.com Exchange."); - println!(" (Settings > API Keys at https://crypto.com/exchange/personal/api-management)"); + println!(" (Settings > API Keys at {api_keys_url})"); } println!();