mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 12:21:18 +00:00
parent
96ed8bf2e9
commit
2ee206af7c
1 changed files with 1 additions and 1 deletions
|
@ -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(conn)
|
||||
SiteOrCommunity::Site(_) => Site::read_remote_sites(&mut *conn)
|
||||
.await?
|
||||
.into_iter()
|
||||
.map(|s| s.actor_id.into())
|
||||
|
|
Loading…
Reference in a new issue