fix: use correct column name completed_at instead of ended_at in count_completed_jobs_detail (#8066)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-02-24 09:03:52 +01:00
committed by GitHub
parent 207dcdb4f7
commit 3aba0ed250
+1 -1
View File
@@ -1933,7 +1933,7 @@ async fn count_completed_jobs_detail(
if let Some(after_s_ago) = query.completed_after_s_ago {
let after = Utc::now() - chrono::Duration::seconds(after_s_ago);
sqlb.and_where_gt("ended_at", "?".bind(&after.to_rfc3339()));
sqlb.and_where_gt("completed_at", "?".bind(&after.to_rfc3339()));
}
if let Some(success) = query.success {