FIXUP config

This commit is contained in:
Paul Campbell 2024-07-23 19:09:39 +01:00
parent a47ba6c289
commit f6bbdf7cce

View file

@ -239,3 +239,11 @@ pub struct OutboundWebhook {
url: String, url: String,
secret: String, secret: String,
} }
impl OutboundWebhook {
pub fn url(&self) -> &str {
self.url.as_ref()
}
pub fn secret(&self) -> Secret<String> {
Secret::new(self.secret.clone())
}
}