diff options
Diffstat (limited to 'src/lib/login')
| -rw-r--r-- | src/lib/login/user.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/login/user.rs b/src/lib/login/user.rs index 9534bbe..1898a1f 100644 --- a/src/lib/login/user.rs +++ b/src/lib/login/user.rs | |||
| @@ -75,11 +75,7 @@ pub async fn get_user_details( | |||
| 75 | let term = console::Term::stderr(); | 75 | let term = console::Term::stderr(); |
| 76 | term.write_line("searching for profile...")?; | 76 | term.write_line("searching for profile...")?; |
| 77 | let (_, progress_reporter) = client | 77 | let (_, progress_reporter) = client |
| 78 | .fetch_all( | 78 | .fetch_all(git_repo_path, None, &HashSet::from_iter(vec![*public_key])) |
| 79 | git_repo_path, | ||
| 80 | &HashSet::new(), | ||
| 81 | &HashSet::from_iter(vec![*public_key]), | ||
| 82 | ) | ||
| 83 | .await?; | 79 | .await?; |
| 84 | if let Ok(user_ref) = get_user_ref_from_cache(git_repo_path, public_key).await { | 80 | if let Ok(user_ref) = get_user_ref_from_cache(git_repo_path, public_key).await { |
| 85 | progress_reporter.clear()?; | 81 | progress_reporter.clear()?; |