mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-29 15:48:41 +01:00
fix RYD api
This commit is contained in:
parent
9074bdd0cc
commit
efe984a412
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