From 3b02389abd780a7b1b8a2c89e26febdaa6a12159 Mon Sep 17 00:00:00 2001 From: dull b Date: Tue, 4 Jul 2023 02:17:07 +0000 Subject: [PATCH] Fix apub::activities::block --- crates/apub/src/activities/block/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/apub/src/activities/block/mod.rs b/crates/apub/src/activities/block/mod.rs index 6a152dda7..e7b603455 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(&mut *conn) + SiteOrCommunity::Site(_) => Site::read_remote_sites(conn) .await? .into_iter() .map(|s| s.actor_id.into())