From eff69e2eae091011d4e84ae44459e309cf5d3c44 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 30 Jan 2022 02:41:48 +0300 Subject: [PATCH] Update update-api.js --- scripts/commands/update-api.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/commands/update-api.js b/scripts/commands/update-api.js index 506cf453..9ddb1800 100644 --- a/scripts/commands/update-api.js +++ b/scripts/commands/update-api.js @@ -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 = []) {