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 = await fetch(`${dislike_api}${video_id}`).then((res) =>
const engagement = getJson(dislike) res.json()
);
const headers = {}; const headers = {};
/* /*