mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 15:38:14 +01:00
im sowwy ;_;
This commit is contained in:
parent
c66863e69a
commit
328ea235f1
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