mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 15:08: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
|
||||
function getJson(str) {
|
||||
try {
|
||||
return getJson(str);
|
||||
return JSON.parse(str);
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue