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