add notifier_url

This commit is contained in:
OMGeeky
2024-05-04 00:29:12 +02:00
parent 3bfa00b308
commit 4df6e6ff94
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "twba-backup-config"
version = "0.1.7"
version = "0.1.8"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -53,6 +53,8 @@ impl Conf {
#[derive(Debug, Serialize, Deserialize, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Config)]
pub struct Notifier {
/// The URL where the notifier service is reachable under.
pub notifier_url: String,
/// The URL for the webhook
pub webhook_url: Option<String>,
pub smtp: Option<Smtp>,