From 0379a7ad4c1c6876c32286adb1cf090e3afdc5ea Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 17 Jul 2024 17:33:29 +0100 Subject: 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. --- src/sub_commands/fetch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sub_commands/fetch.rs') 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<()> { }; println!("fetching updates..."); let (relay_reports, _) = client - .fetch_all(git_repo.get_path()?, &repo_coordinates) + .fetch_all(git_repo.get_path()?, &repo_coordinates, &HashSet::new()) .await?; let report = consolidate_fetch_reports(relay_reports); if report.to_string().is_empty() { -- cgit v1.2.3