Add missing 'finished' field

This commit is contained in:
Beverly Nguyen
2025-09-22 12:13:15 -07:00
parent e71e35fdca
commit d8424e954d
2 changed files with 2 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ document.addEventListener('DOMContentLoaded', function () {
const responseTime = Date.now() - startTime;
currentInterval = calculateBackoff(responseTime);
if (data.stop === 1 || data.finished === true) {
if (data.finished === true) {
stopPolling();
}