From ed5b52ea31f6fd69f3585dd563289a7d9b946ba3 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 3 Jul 2024 10:03:12 +0100 Subject: fix(login): use saved bunker login a typo prevented fetching of saved bunker-uri and therefore ngit would act as if it wasn't saved --- src/login.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/login.rs b/src/login.rs index 38babaa..d580969 100644 --- a/src/login.rs +++ b/src/login.rs @@ -331,9 +331,9 @@ fn get_git_config_bunker_uri_and_app_key( ) -> Result<(String, String)> { Ok(( git_repo - .get_git_config_item("nostr.bunker_url", global) + .get_git_config_item("nostr.bunker-uri", global) .context("failed get local git config")? - .context("git local config item nostr.bunker_url doesn't exist")? + .context("git local config item nostr.bunker-uri doesn't exist")? .to_string(), git_repo .get_git_config_item("nostr.bunker-app-key", global) -- cgit v1.2.3