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