use domain::models::Channel; use domain::DomainResult; use super::deps::ChannelQueryDeps; use super::queries::GetChannelQuery; pub async fn execute(deps: &ChannelQueryDeps, query: GetChannelQuery) -> DomainResult> { deps.channel_query.find_by_id(query.channel_id).await } #[cfg(test)] #[path = "tests/get.rs"] mod tests;