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());