fix RYD api

This commit is contained in:
Ashley 2022-12-20 11:52:34 +00:00
parent 8013a7b56a
commit 0dfe5317af

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 = {};
/*