From 9285dd6839ee15fd1426b1014ebef39cec07ab68 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 14 Sep 2025 11:06:38 +0800 Subject: httpconnector: impl ntfy --- src/client/connector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/connector.rs') diff --git a/src/client/connector.rs b/src/client/connector.rs index 88b1939..51b662a 100644 --- a/src/client/connector.rs +++ b/src/client/connector.rs @@ -17,7 +17,7 @@ pub(crate) trait Connection { // should use channel to notify update fn update(&self) -> Result; // None if no update(content is same) - fn ntfy(&self, data: String); + fn ntfy(&self, data: String) -> Result; fn is_prev(&mut self, str: &Self::Ok) -> bool; -- cgit v1.2.3