From ac435a1d51510b609078e1b878b89d87b2d0cd51 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 6 Nov 2022 07:20:16 +0300 Subject: [PATCH] Fixes links to guides in the API --- scripts/commands/api/update.js | 2 +- tests/__data__/expected/api/guides.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/commands/api/update.js b/scripts/commands/api/update.js index db5212bd..d4161446 100644 --- a/scripts/commands/api/update.js +++ b/scripts/commands/api/update.js @@ -16,7 +16,7 @@ async function main() { channel: result.channel, site: result.site, lang: result.lang, - url: `https://iptv-org.github.io/epg/guides/${result.filename}.xml.gz` + url: `https://iptv-org.github.io/epg/guides/${result.filename}.xml` }) } diff --git a/tests/__data__/expected/api/guides.json b/tests/__data__/expected/api/guides.json index d82f7348..a6fd2a2a 100644 --- a/tests/__data__/expected/api/guides.json +++ b/tests/__data__/expected/api/guides.json @@ -1 +1 @@ -[{"channel":"6eren.dk","site":"allente.se","lang":"da","url":"https://iptv-org.github.io/epg/guides/dk_da.xml.gz"},{"channel":"ABCSpark.ca","site":"tvhebdo.com","lang":"fr","url":"https://iptv-org.github.io/epg/guides/ca_fr.xml.gz"},{"channel":"BBCEarthCanada.ca","site":"tvhebdo.com","lang":"fr","url":"https://iptv-org.github.io/epg/guides/ca_fr.xml.gz"},{"channel":"CFMTDT.ca","site":"tvhebdo.com","lang":"fr","url":"https://iptv-org.github.io/epg/guides/ca_fr.xml.gz"},{"channel":"CFMTDT.ca","site":"tvhebdo.com","lang":"en","url":"https://iptv-org.github.io/epg/guides/ca_en.xml.gz"},{"channel":"CanalVie.ca","site":"tvhebdo.com","lang":"fr","url":"https://iptv-org.github.io/epg/guides/ca_fr.xml.gz"},{"channel":"CanalVie.ca","site":"tvhebdo.com","lang":"en","url":"https://iptv-org.github.io/epg/guides/ca_en.xml.gz"},{"channel":"beINSportsCanada.ca","site":"tvhebdo.com","lang":"fr","url":"https://iptv-org.github.io/epg/guides/ca_fr.xml.gz"}] \ No newline at end of file +[{"channel":"6eren.dk","site":"allente.se","lang":"da","url":"https://iptv-org.github.io/epg/guides/dk_da.xml"},{"channel":"ABCSpark.ca","site":"tvhebdo.com","lang":"fr","url":"https://iptv-org.github.io/epg/guides/ca_fr.xml"},{"channel":"BBCEarthCanada.ca","site":"tvhebdo.com","lang":"fr","url":"https://iptv-org.github.io/epg/guides/ca_fr.xml"},{"channel":"CFMTDT.ca","site":"tvhebdo.com","lang":"fr","url":"https://iptv-org.github.io/epg/guides/ca_fr.xml"},{"channel":"CFMTDT.ca","site":"tvhebdo.com","lang":"en","url":"https://iptv-org.github.io/epg/guides/ca_en.xml"},{"channel":"CanalVie.ca","site":"tvhebdo.com","lang":"fr","url":"https://iptv-org.github.io/epg/guides/ca_fr.xml"},{"channel":"CanalVie.ca","site":"tvhebdo.com","lang":"en","url":"https://iptv-org.github.io/epg/guides/ca_en.xml"},{"channel":"beINSportsCanada.ca","site":"tvhebdo.com","lang":"fr","url":"https://iptv-org.github.io/epg/guides/ca_fr.xml"}] \ No newline at end of file