webhooks (#1)
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
@@ -88,6 +88,8 @@ pub struct Channel {
|
||||
pub logo: Option<String>,
|
||||
pub logo_position: LogoPosition,
|
||||
pub logo_opacity: f32,
|
||||
pub webhook_url: Option<String>,
|
||||
pub webhook_poll_interval_secs: u32,
|
||||
pub created_at: DateTime<Utc>,
|
||||
pub updated_at: DateTime<Utc>,
|
||||
}
|
||||
@@ -113,6 +115,8 @@ impl Channel {
|
||||
logo: None,
|
||||
logo_position: LogoPosition::default(),
|
||||
logo_opacity: 1.0,
|
||||
webhook_url: None,
|
||||
webhook_poll_interval_secs: 5,
|
||||
created_at: now,
|
||||
updated_at: now,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user