fix a silly issue :3

This commit is contained in:
Ashley 2022-11-16 18:32:02 +01:00
parent e9e5fadcb8
commit 64ff616867

View file

@ -30,7 +30,7 @@ const config = {
// Util functions
function getJson(str) {
try {
return getJson(str);
return JSON.parse(str);
} catch {
return null;
}