summaryrefslogtreecommitdiffstats
path: root/src/service/http.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/http.rs')
-rw-r--r--src/service/http.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service/http.rs b/src/service/http.rs
index bfba007..5b0fdd5 100644
--- a/src/service/http.rs
+++ b/src/service/http.rs
@@ -5,7 +5,7 @@ use reqwest::Client;
use serde::{Deserialize, Serialize};
use url::Url;
-use crate::Status;
+use crate::status::Sender;
use super::IntoService;
@@ -47,7 +47,7 @@ impl Http {
}
impl IntoService for Http {
- async fn into_service(self, tx: tokio::sync::watch::Sender<Status>) {
+ async fn into_service(self, tx: Sender) {
let mut interval = tokio::time::interval(self.interval);
loop {
interval.tick().await;