refactor(application): strip comments, DRY ownership check + parse_content_type
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
use uuid::Uuid;
|
||||
|
||||
/// Generate a new schedule for a channel.
|
||||
pub struct GenerateScheduleCommand {
|
||||
pub channel_id: Uuid,
|
||||
}
|
||||
|
||||
/// Delete all schedules with generation > target_generation for a channel.
|
||||
pub struct DeleteSchedulesAfterCommand {
|
||||
pub channel_id: Uuid,
|
||||
pub target_generation: u32,
|
||||
|
||||
Reference in New Issue
Block a user