mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Fix apub::activities::block
This commit is contained in:
parent
7dc73de613
commit
3b02389abd
@ -123,7 +123,7 @@ async fn generate_cc(
|
||||
mut conn: impl DbConn,
|
||||
) -> Result<Vec<Url>, 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())
|
||||
|
Loading…
Reference in New Issue
Block a user