diff --git a/src/args.rs b/src/args.rs
index ff40825..0c3aedf 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -85,7 +85,7 @@ pub fn get_os_config_path() -> PathBuf {
path_buf(&try_redefined(OS_CONFIG_PATH, OS_CONFIG_PATH_REDEFINE))
}
-fn get_config_json_path() -> PathBuf {
+pub fn get_config_json_path() -> PathBuf {
if get_flasher_flag_path().exists() {
get_config_json_flasher_path()
} else {
diff --git a/src/config_json.rs b/src/config_json.rs
index 3fa0bae..0c58df7 100644
--- a/src/config_json.rs
+++ b/src/config_json.rs
@@ -179,7 +179,7 @@ fn strip_api_endpoint(api_endpoint: &str) -> String {
}
}
-fn get_api_key(config_json: &ConfigMap) -> Result