Update sky.com.config.js

This commit is contained in:
freearhey 2025-01-04 20:43:36 +03:00
parent dfdac39bb4
commit 4aad8125f5

View file

@ -25,8 +25,7 @@ module.exports = {
.filter(schedule => schedule.sid === channel.site_id)
.forEach(schedule => {
if (Array.isArray(schedule.events)) {
schedule.events
.forEach(event => {
schedule.events.forEach(event => {
const start = dayjs.utc(event.st * 1000)
if (start.isSame(date, 'd')) {
programs.push({
@ -39,7 +38,6 @@ module.exports = {
})
}
})
})
}
})
}