mirror of
https://codeberg.org/ashley/poke
synced 2026-03-03 10:53:44 +00:00
im sowwy ;_;
This commit is contained in:
@@ -22,7 +22,7 @@ const sha384 = modules.hash;
|
||||
|
||||
function getJson(str) {
|
||||
try {
|
||||
return getJson(str);
|
||||
return JSON.parse(str);
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user