mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 15:28:26 +01:00
fix a silly issue :3
This commit is contained in:
parent
fd5315df7f
commit
956df8e5cf
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ const config = {
|
||||||
// Util functions
|
// Util functions
|
||||||
function getJson(str) {
|
function getJson(str) {
|
||||||
try {
|
try {
|
||||||
return getJson(str);
|
return JSON.parse(str);
|
||||||
} catch {
|
} catch {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue