vulnerabilties spelling i suck

This commit is contained in:
Cypro Freelance 2024-07-31 01:17:39 +05:30
parent 89b7b3d845
commit a162f66b30

View file

@ -57,7 +57,7 @@ const AdminLogPage = () => {
const fetchLogs = async () => { const fetchLogs = async () => {
try { try {
const response = await fetch("/api/vulnerabilties", { method: "GET" }); const response = await fetch("/api/vulnerabilities", { method: "GET" });
if (response.ok) { if (response.ok) {
const data: LogEntry[] = await response.json(); const data: LogEntry[] = await response.json();
setLogs(data); setLogs(data);