use domain::errors::DomainError; use domain::models::SongSummary; use super::commands::UpdateSongMetaCommand; use super::deps::SongCommandDeps; pub async fn execute( deps: &SongCommandDeps, cmd: UpdateSongMetaCommand, ) -> Result { let result = deps .repo .update_meta( cmd.id, cmd.title.as_deref(), cmd.artist.as_deref(), cmd.original_key.as_deref(), ) .await?; tracing::debug!(id = %cmd.id, "song meta updated"); Ok(result) }