This commit is contained in:
Felix Ableitner 2023-12-12 11:18:55 +01:00
parent 7509ed6425
commit 4ac38179dd

View file

@ -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())