Fix another bug when technitium is down

This commit is contained in:
shamoon 2024-09-11 18:11:15 -07:00
parent b925b86352
commit 09320bb71c

View File

@ -9,7 +9,7 @@ const widget = {
endpoint: "dashboard/stats/get",
validate: ["response", "status"],
params: ["type"],
map: (data) => asJson(data).response.stats,
map: (data) => asJson(data).response?.stats,
},
},
};