From d3206151e30f9476c76e547d5e240e8160566d41 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 9 Mar 2023 19:42:40 +0000 Subject: [PATCH] this is definitely one of the commits ever --- src/libpoketube/libpoketube-fetcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/libpoketube-fetcher.js b/src/libpoketube/libpoketube-fetcher.js index 05307c05..48db8df8 100644 --- a/src/libpoketube/libpoketube-fetcher.js +++ b/src/libpoketube/libpoketube-fetcher.js @@ -46,7 +46,7 @@ const getEngagementData = async (videoId) => { try { const engagement = await fetch(apiUrl).then((res) => res.json()); - return engagement; + return engagement.data; } catch { try { const engagement = await fetch(fallbackUrl).then((res) => res.json());