convert Client into Service

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-07-16 22:29:42 +00:00
parent f465d77ad3
commit 8a2ae401df
13 changed files with 159 additions and 23 deletions

View file

@ -194,7 +194,7 @@ impl Service {
where
T: OutgoingRequest + Debug + Send,
{
let client = &services().globals.client.federation;
let client = &services().client.federation;
send::send(client, dest, request).await
}