feat(channel): add auto-schedule feature to channels with background scheduler
This commit is contained in:
@@ -76,6 +76,9 @@ pub(super) async fn update_channel(
|
||||
if let Some(rp) = payload.recycle_policy {
|
||||
channel.recycle_policy = rp;
|
||||
}
|
||||
if let Some(auto) = payload.auto_schedule {
|
||||
channel.auto_schedule = auto;
|
||||
}
|
||||
channel.updated_at = Utc::now();
|
||||
|
||||
let channel = state.channel_service.update(channel).await?;
|
||||
|
||||
Reference in New Issue
Block a user