mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 15:28:26 +01:00
fix RYD api
This commit is contained in:
parent
8013a7b56a
commit
0dfe5317af
1 changed files with 4 additions and 2 deletions
|
@ -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 = {};
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue