mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 05:18:56 +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 = await fetch(`${dislike_api}${video_id}`).then((res) =>
|
||||||
const engagement = getJson(dislike)
|
res.json()
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
const headers = {};
|
const headers = {};
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue