fix: correct column names in scheduler status query (total, errores)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
467a24baa4
commit
12f5f1388d
@@ -202,7 +202,7 @@ async function pollSchedulerStatus() {
|
||||
if (d.ultimo_log) {
|
||||
const ul = d.ultimo_log;
|
||||
const ts = new Date(ul.created_at).toLocaleTimeString('es-CO');
|
||||
parts.push(`<span><i class="fas fa-history mr-1 text-purple-400"></i>Último sync scheduler: <strong>${ts}</strong> · ${ul.total_procesados ?? 0} procesados, ${ul.total_errores ?? 0} errores</span>`);
|
||||
parts.push(`<span><i class="fas fa-history mr-1 text-purple-400"></i>Último sync scheduler: <strong>${ts}</strong> · ${ul.total ?? 0} procesados, ${ul.errores ?? 0} errores</span>`);
|
||||
}
|
||||
live.innerHTML = parts.join('');
|
||||
} catch(_) {}
|
||||
|
||||
Reference in New Issue
Block a user