aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/actions/ntfy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/ntfy.rs')
-rw-r--r--src/actions/ntfy.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions/ntfy.rs b/src/actions/ntfy.rs
index 7d83b87..badee70 100644
--- a/src/actions/ntfy.rs
+++ b/src/actions/ntfy.rs
@@ -106,6 +106,10 @@ impl<'a> NtfyAction<'a> {
#[async_trait]
impl Action<'_> for NtfyAction<'_> {
+ fn name(&self) -> &'static str {
+ "ntfy"
+ }
+
async fn run(&self, params: Option<&MessageParams<'_, '_>>) -> Result<()> {
let payload = self
.payload_template