mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 18:37:01 -05:00
Update update-api.js
This commit is contained in:
@@ -67,9 +67,9 @@ async function loadPrograms() {
|
||||
}
|
||||
|
||||
async function saveToGuidesJson(guides = []) {
|
||||
const channelsPath = `${API_DIR}/guides.json`
|
||||
logger.info(`Saving to "${channelsPath}"...`)
|
||||
await file.create(channelsPath, JSON.stringify(guides))
|
||||
const guidesPath = `${API_DIR}/guides.json`
|
||||
logger.info(`Saving to "${guidesPath}"...`)
|
||||
await file.create(guidesPath, JSON.stringify(guides))
|
||||
}
|
||||
|
||||
async function saveToProgramsJson(programs = []) {
|
||||
|
||||
Reference in New Issue
Block a user