diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-17 17:33:29 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-17 17:34:27 +0100 |
| commit | 0379a7ad4c1c6876c32286adb1cf090e3afdc5ea (patch) | |
| tree | 3ebde10b399214bc6509bb81806088bb7b552383 /src/sub_commands/fetch.rs | |
| parent | 7227db8d2a506912eb5ffd3d25dee1c95544cbf4 (diff) | |
fix(fetch): get profile with nsec cli parameter
only the profile from the saved user was being fetched.
tests are using cli login parameters and expecting to see the
user's name but it was only showing the npub.
fixed by allowing the explicit request of specfic user profiles.
Diffstat (limited to 'src/sub_commands/fetch.rs')
| -rw-r--r-- | src/sub_commands/fetch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub_commands/fetch.rs b/src/sub_commands/fetch.rs index 5a6850c..28eb960 100644 --- a/src/sub_commands/fetch.rs +++ b/src/sub_commands/fetch.rs | |||
| @@ -40,7 +40,7 @@ pub async fn launch(args: &Cli, command_args: &SubCommandArgs) -> Result<()> { | |||
| 40 | }; | 40 | }; |
| 41 | println!("fetching updates..."); | 41 | println!("fetching updates..."); |
| 42 | let (relay_reports, _) = client | 42 | let (relay_reports, _) = client |
| 43 | .fetch_all(git_repo.get_path()?, &repo_coordinates) | 43 | .fetch_all(git_repo.get_path()?, &repo_coordinates, &HashSet::new()) |
| 44 | .await?; | 44 | .await?; |
| 45 | let report = consolidate_fetch_reports(relay_reports); | 45 | let report = consolidate_fetch_reports(relay_reports); |
| 46 | if report.to_string().is_empty() { | 46 | if report.to_string().is_empty() { |