diff --git a/upub/cli/src/fetch.rs b/upub/cli/src/fetch.rs index b31d7c9..e541cd6 100644 --- a/upub/cli/src/fetch.rs +++ b/upub/cli/src/fetch.rs @@ -23,7 +23,7 @@ pub async fn fetch(ctx: upub::Context, uri: String, save: bool, actor: Option, }, /// act on remote relay actors at instance level @@ -139,8 +143,8 @@ pub async fn run(ctx: upub::Context, command: CliCommand) -> Result<(), Box Ok(faker(ctx, count as i64).await?), - CliCommand::Fetch { uri, save } => - Ok(fetch(ctx, uri, save).await?), + CliCommand::Fetch { uri, save, fetch_as } => + Ok(fetch(ctx, uri, save, fetch_as).await?), CliCommand::Relay { action } => Ok(relay(ctx, action).await?), CliCommand::Fix { likes, shares, replies } =>