deedrop1140 commited on
Commit
7552da4
·
verified ·
1 Parent(s): 4518d00

Update static/script.js

Browse files
Files changed (1) hide show
  1. static/script.js +1 -1
static/script.js CHANGED
@@ -83,7 +83,7 @@ async function updateAnalytics() {
83
  async function updateNegatives() {
84
  if (!negativeBox) return; // Safety check
85
 
86
- const res = await fetch("/admin/negatives");
87
  const data = await res.json();
88
 
89
  negativeBox.innerHTML = data.length === 0
 
83
  async function updateNegatives() {
84
  if (!negativeBox) return; // Safety check
85
 
86
+ const res = await fetch("/admin/negatives-data");
87
  const data = await res.json();
88
 
89
  negativeBox.innerHTML = data.length === 0