fix: remove unused watch_event_query binding, prefix dead field for clippy -D warnings

This commit is contained in:
2026-07-10 04:32:54 +02:00
parent 2e32847129
commit 5266646b0b
20 changed files with 79 additions and 69 deletions

View File

@@ -5,7 +5,9 @@ use domain::{errors::DomainError, ports::WatchEventCommand};
pub async fn execute(watch_event_command: Arc<dyn WatchEventCommand>) -> Result<u64, DomainError> {
let cutoff = chrono::Utc::now().naive_utc() - Duration::days(30);
watch_event_command.delete_non_pending_older_than(cutoff).await
watch_event_command
.delete_non_pending_older_than(cutoff)
.await
}
#[cfg(test)]