fix RYD api

This commit is contained in:
Ashley 2022-12-20 11:52:34 +00:00
parent 9074bdd0cc
commit efe984a412

View file

@ -33,8 +33,10 @@ function getJson(str) {
}
}
const dislike = await fetch(`${dislike_api}${video_id}`)
const engagement = getJson(dislike)
const engagement = await fetch(`${dislike_api}${video_id}`).then((res) =>
res.json()
);
const headers = {};
/*