diff options
Diffstat (limited to 'src/bin/git_remote_nostr/fetch.rs')
| -rw-r--r-- | src/bin/git_remote_nostr/fetch.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/git_remote_nostr/fetch.rs b/src/bin/git_remote_nostr/fetch.rs index 221d964..2cc87da 100644 --- a/src/bin/git_remote_nostr/fetch.rs +++ b/src/bin/git_remote_nostr/fetch.rs | |||
| @@ -18,7 +18,7 @@ use ngit::{ | |||
| 18 | }, | 18 | }, |
| 19 | git_events::{KIND_PULL_REQUEST, KIND_PULL_REQUEST_UPDATE, tag_value}, | 19 | git_events::{KIND_PULL_REQUEST, KIND_PULL_REQUEST_UPDATE, tag_value}, |
| 20 | login::get_curent_user, | 20 | login::get_curent_user, |
| 21 | repo_ref::{RepoRef, is_grasp_server}, | 21 | repo_ref::{RepoRef, is_grasp_server_in_list}, |
| 22 | utils::{ | 22 | utils::{ |
| 23 | Direction, find_proposal_and_patches_by_branch_name, get_oids_from_fetch_batch, | 23 | Direction, find_proposal_and_patches_by_branch_name, get_oids_from_fetch_batch, |
| 24 | get_open_or_draft_proposals, get_read_protocols_to_try, join_with_and, | 24 | get_open_or_draft_proposals, get_read_protocols_to_try, join_with_and, |
| @@ -96,7 +96,7 @@ pub async fn run_fetch( | |||
| 96 | git_server_url, | 96 | git_server_url, |
| 97 | &repo_ref.to_nostr_git_url(&None), | 97 | &repo_ref.to_nostr_git_url(&None), |
| 98 | &term, | 98 | &term, |
| 99 | is_grasp_server(git_server_url, &repo_ref.grasp_servers()), | 99 | is_grasp_server_in_list(git_server_url, &repo_ref.grasp_servers()), |
| 100 | ) { | 100 | ) { |
| 101 | errors.push(error); | 101 | errors.push(error); |
| 102 | } | 102 | } |