mirror of
https://github.com/iptv-org/epg
synced 2026-05-07 09:57:06 -04:00
Update plex.tv
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user