1
Fork 0

this is definitely one of the commits ever

This commit is contained in:
Ashley 2023-03-09 19:42:40 +00:00
parent e613d8a742
commit d3206151e3

View file

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