1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 08:34:42 -05:00

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;
}