Fix another bug when technitium is down
This commit is contained in:
parent
b925b86352
commit
09320bb71c
@ -9,7 +9,7 @@ const widget = {
|
|||||||
endpoint: "dashboard/stats/get",
|
endpoint: "dashboard/stats/get",
|
||||||
validate: ["response", "status"],
|
validate: ["response", "status"],
|
||||||
params: ["type"],
|
params: ["type"],
|
||||||
map: (data) => asJson(data).response.stats,
|
map: (data) => asJson(data).response?.stats,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user