diff options
Diffstat (limited to 'src/user.rs')
-rw-r--r-- | src/user.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user.rs b/src/user.rs index 6f7de40..a40de28 100644 --- a/src/user.rs +++ b/src/user.rs @@ -173,7 +173,7 @@ pub enum VisbilitySetting { impl UserCommand { pub async fn run(self, keys: &mut crate::KeyInfo, host_name: Option<&str>) -> eyre::Result<()> { - let repo = RepoInfo::get_current(host_name, None, self.remote.as_deref())?; + let repo = RepoInfo::get_current(host_name, None, self.remote.as_deref(), &keys)?; let api = keys.get_api(repo.host_url()).await?; match self.command { UserSubcommand::Search { query, page } => user_search(&api, &query, page).await?, |