diff --git a/templates/logs.html b/templates/logs.html index 448b934..4a6f727 100644 --- a/templates/logs.html +++ b/templates/logs.html @@ -55,11 +55,11 @@ $.ajax({ url: '/scanlogs/today', method: 'GET', - success: function(logs) { + success: function(response) { const tbody = $('#logs-body'); tbody.empty(); - logs.forEach(function(log) { + response.logs.forEach(function(log) { const row = $('