Update plex.tv

This commit is contained in:
freearhey committed 2023-11-26 12:52:57 +03:00
1 parent 948495df13
commit 9d92665918
4 files changed
+81 -231

No files matched your search

+2 -2
View File
@@ -32,9 +32,9 @@ module.exports = {
return programs
},
async channels() {
async channels({ token }) {
const data = await axios
.get(`${API_ENDPOINT}/lineups/plex/channels?X-Plex-Token=zb85PfdNQLmsry9kQLBR`)
.get(`${API_ENDPOINT}/lineups/plex/channels?X-Plex-Token=${token}`)
.then(r => r.data)
.catch(console.error)