.await??;
let id = ObjectId::new(generate_outbox_url(&community.actor_id)?);
let outbox_data = CommunityContext(community.into(), context.get_ref().clone());
- let outbox: ApubCommunityOutbox = id.dereference(&outbox_data, &mut 0).await?;
+ let outbox: ApubCommunityOutbox = id
+ .dereference(&outbox_data, context.client(), &mut 0)
+ .await?;
Ok(create_apub_response(&outbox.into_apub(&outbox_data).await?))
}
.into();
let id = ObjectId::new(generate_outbox_url(&community.actor_id)?);
let outbox_data = CommunityContext(community, context.get_ref().clone());
- let moderators: ApubCommunityModerators = id.dereference(&outbox_data, &mut 0).await?;
+ let moderators: ApubCommunityModerators = id
+ .dereference(&outbox_data, context.client(), &mut 0)
+ .await?;
Ok(create_apub_response(
&moderators.into_apub(&outbox_data).await?,
))