mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update update-api.js
This commit is contained in:
parent
61085bf2db
commit
eff69e2eae
1 changed files with 3 additions and 3 deletions
|
@ -67,9 +67,9 @@ async function loadPrograms() {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function saveToGuidesJson(guides = []) {
|
async function saveToGuidesJson(guides = []) {
|
||||||
const channelsPath = `${API_DIR}/guides.json`
|
const guidesPath = `${API_DIR}/guides.json`
|
||||||
logger.info(`Saving to "${channelsPath}"...`)
|
logger.info(`Saving to "${guidesPath}"...`)
|
||||||
await file.create(channelsPath, JSON.stringify(guides))
|
await file.create(guidesPath, JSON.stringify(guides))
|
||||||
}
|
}
|
||||||
|
|
||||||
async function saveToProgramsJson(programs = []) {
|
async function saveToProgramsJson(programs = []) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue