refactor(application): strip comments, DRY ownership check + parse_content_type
This commit is contained in:
@@ -7,9 +7,6 @@ use domain::DomainResult;
|
||||
use super::deps::ScheduleDeps;
|
||||
use super::queries::GetActiveScheduleQuery;
|
||||
|
||||
/// Fetch the schedule currently active at `now`.
|
||||
///
|
||||
/// Returns `None` when no schedule covers the current time.
|
||||
pub async fn execute(
|
||||
deps: &ScheduleDeps,
|
||||
query: GetActiveScheduleQuery,
|
||||
|
||||
Reference in New Issue
Block a user