mirror of
https://github.com/LemmyNet/activitypub-federation-rust.git
synced 2025-04-21 12:44:05 +00:00
take ref
This commit is contained in:
parent
7509ed6425
commit
4ac38179dd
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ impl SendActivityTask<'_> {
|
|||
}
|
||||
|
||||
/// convert a sendactivitydata to a request, signing and sending it
|
||||
pub async fn sign_and_send<Datatype: Clone>(self, data: &Data<Datatype>) -> Result<(), Error> {
|
||||
pub async fn sign_and_send<Datatype: Clone>(&self, data: &Data<Datatype>) -> Result<(), Error> {
|
||||
let client = &data.config.client;
|
||||
let request_builder = client
|
||||
.post(self.inbox.to_string())
|
||||
|
|
Loading…
Reference in a new issue