From 328ea235f1eec6afee89fc87703469f572b3759c Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 18 Dec 2022 15:02:03 +0000 Subject: [PATCH] im sowwy ;_; --- src/libpoketube/init/pages-404-and-main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index 2298b51c..c98f0fd0 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -22,7 +22,7 @@ const sha384 = modules.hash; function getJson(str) { try { - return getJson(str); + return JSON.parse(str); } catch { return null; }