Update index_region_m3u.js

This commit is contained in:
Aleksandr Statciuk 2022-03-15 00:43:01 +03:00
parent b3ad303de8
commit c35b3f6aa1

View File

@ -42,7 +42,7 @@ function getChannelRegions(stream, { regions }) {
acc.push(regions[code])
break
case 's':
const [c] = item.split('-')
const [c] = code.split('-')
const r1 = _.filter(regions, { countries: [c] })
acc = acc.concat(r1)
break