mirror of
https://codeberg.org/ashley/poke
synced 2025-04-06 09:38:00 +00:00
fix a silly issue :3
This commit is contained in:
parent
fd5315df7f
commit
956df8e5cf
@ -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 New Issue
Block a user