vulnerabilties spelling i suck
This commit is contained in:
parent
89b7b3d845
commit
a162f66b30
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue