larxius commited on
Commit
ae976c2
·
verified ·
1 Parent(s): 7b55bb2

Update frontend/src/pages/Dashboard.jsx

Browse files
Files changed (1) hide show
  1. frontend/src/pages/Dashboard.jsx +1 -1
frontend/src/pages/Dashboard.jsx CHANGED
@@ -167,7 +167,7 @@ export const Dashboard = () => {
167
  const activeToken = getToken();
168
  const [summaryRes, historyRes] = await Promise.all([
169
  fetch('/api/vulnerabilities/summary', { headers: { 'Authorization': `Bearer ${activeToken}` } }),
170
- fetch('/api/scans/history', { headers: { 'Authorization': `Bearer ${activeToken}` } })
171
  ]);
172
 
173
  if (!summaryRes.ok || !historyRes.ok) return;
 
167
  const activeToken = getToken();
168
  const [summaryRes, historyRes] = await Promise.all([
169
  fetch('/api/vulnerabilities/summary', { headers: { 'Authorization': `Bearer ${activeToken}` } }),
170
+ fetch('/api/scans/history?limit=100', { headers: { 'Authorization': `Bearer ${activeToken}` } })
171
  ]);
172
 
173
  if (!summaryRes.ok || !historyRes.ok) return;