diff --git a/crates/apub/src/activities/block/mod.rs b/crates/apub/src/activities/block/mod.rs index e7b603455..6a152dda7 100644 --- a/crates/apub/src/activities/block/mod.rs +++ b/crates/apub/src/activities/block/mod.rs @@ -123,7 +123,7 @@ async fn generate_cc( mut conn: impl DbConn, ) -> Result, LemmyError> { Ok(match target { - SiteOrCommunity::Site(_) => Site::read_remote_sites(conn) + SiteOrCommunity::Site(_) => Site::read_remote_sites(&mut *conn) .await? .into_iter() .map(|s| s.actor_id.into())