From 795e25717f95efb4938b773fcd4dec8e715295bc Mon Sep 17 00:00:00 2001 From: Colin Lienard Date: Mon, 15 Apr 2024 21:09:25 +0200 Subject: [PATCH] feat: trim token --- src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.rs b/src/config.rs index 4857537..8c53b6b 100644 --- a/src/config.rs +++ b/src/config.rs @@ -24,6 +24,7 @@ impl Config { } None => return Ok(false), }; + let token = token.trim(); let (dir_path, token_path, _) = Config::get_paths();