From e4b6e5707a54af521bf115162a9292f82fa11a70 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 19 Sep 2021 15:08:10 +0300 Subject: [PATCH] Update format.js --- scripts/format.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/format.js b/scripts/format.js index ce6c8d1de..08e12fe38 100644 --- a/scripts/format.js +++ b/scripts/format.js @@ -56,7 +56,7 @@ async function updatePlaylist(playlist) { let channels = {} let codes = {} if (!config.offline) { - channels = await loadChannelJson() + channels = await loadChannelsJson() codes = await loadCodes() } @@ -271,7 +271,7 @@ function loadCodes() { .catch(console.log) } -function loadChannelJson() { +function loadChannelsJson() { return axios .get('https://iptv-org.github.io/iptv/channels.json') .then(r => r.data)