diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-03 10:03:12 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-03 10:03:12 +0100 |
| commit | ed5b52ea31f6fd69f3585dd563289a7d9b946ba3 (patch) | |
| tree | 6d86ec4e381bb74767bcc185df41aede8f7f5a1e | |
| parent | 8aa3767938fa5d3244b7f5ca95d56a958861e093 (diff) | |
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
| -rw-r--r-- | src/login.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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( | |||
| 331 | ) -> Result<(String, String)> { | 331 | ) -> Result<(String, String)> { |
| 332 | Ok(( | 332 | Ok(( |
| 333 | git_repo | 333 | git_repo |
| 334 | .get_git_config_item("nostr.bunker_url", global) | 334 | .get_git_config_item("nostr.bunker-uri", global) |
| 335 | .context("failed get local git config")? | 335 | .context("failed get local git config")? |
| 336 | .context("git local config item nostr.bunker_url doesn't exist")? | 336 | .context("git local config item nostr.bunker-uri doesn't exist")? |
| 337 | .to_string(), | 337 | .to_string(), |
| 338 | git_repo | 338 | git_repo |
| 339 | .get_git_config_item("nostr.bunker-app-key", global) | 339 | .get_git_config_item("nostr.bunker-app-key", global) |