FIXUP config
This commit is contained in:
parent
a47ba6c289
commit
f6bbdf7cce
1 changed files with 8 additions and 0 deletions
|
@ -239,3 +239,11 @@ pub struct OutboundWebhook {
|
|||
url: 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())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue