mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-28 15:29:03 +01:00
im sowwy ;_;
This commit is contained in:
parent
4763dd18d8
commit
d2291d7678
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ const sha384 = modules.hash;
|
||||||
|
|
||||||
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