mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-26 17:38:52 +01:00
fix a silly issue :3
This commit is contained in:
parent
e9e5fadcb8
commit
64ff616867
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