From a3b9c7cdb1b015ae1f6622b8383638cbe8bafa43 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 19 May 2025 19:35:26 +0200 Subject: [PATCH] Fix bad file name --- moneymgr_backend/examples/api_curl.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/moneymgr_backend/examples/api_curl.rs b/moneymgr_backend/examples/api_curl.rs index a97bac7..f10cd89 100644 --- a/moneymgr_backend/examples/api_curl.rs +++ b/moneymgr_backend/examples/api_curl.rs @@ -14,7 +14,7 @@ use std::process::Command; struct Args { /// URL to Money manager API #[arg(short('U'), long, env, default_value = "http://localhost:8000/api")] - matrix_gw_url: String, + moneymgr_url: String, /// Token ID #[arg(short('i'), long, env)] @@ -39,7 +39,8 @@ struct Args { fn main() { let args: Args = Args::parse(); - let full_url = format!("{}{}", args.matrix_gw_url, args.uri); + let full_url = format!("{}{}", args.moneymgr_url, args.uri); + log::debug!("Full URL: {full_url}"); let key = HS256Key::from_bytes(args.token_secret.as_bytes());