mirror of https://github.com/LemmyNet/lemmy.git
parent
d74374b8fd
commit
017ffd7ef9
|
@ -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