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

@ -84,12 +84,7 @@ impl Service {
}
}
let response = services()
.globals
.client
.pusher
.execute(reqwest_request)
.await;
let response = services().client.pusher.execute(reqwest_request).await;
match response {
Ok(mut response) => {