upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/git_remote_nostr/list.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/git_remote_nostr/list.rs')
-rw-r--r--src/bin/git_remote_nostr/list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/git_remote_nostr/list.rs b/src/bin/git_remote_nostr/list.rs
index 92faa6b..daff1b6 100644
--- a/src/bin/git_remote_nostr/list.rs
+++ b/src/bin/git_remote_nostr/list.rs
@@ -35,7 +35,7 @@ pub async fn run_list(
35 for_push: bool, 35 for_push: bool,
36) -> Result<HashMap<String, HashMap<String, String>>> { 36) -> Result<HashMap<String, HashMap<String, String>>> {
37 let nostr_state = 37 let nostr_state =
38 if let Ok(nostr_state) = get_state_from_cache(git_repo.get_path()?, repo_ref).await { 38 if let Ok(nostr_state) = get_state_from_cache(Some(git_repo.get_path()?), repo_ref).await {
39 Some(nostr_state) 39 Some(nostr_state)
40 } else { 40 } else {
41 None 41 None