This commit is contained in:
theofficialomega
2025-08-17 16:12:18 +02:00
parent 5d6867fbc1
commit 841fce150f
2 changed files with 75 additions and 73 deletions

View File

@@ -41,8 +41,10 @@ module.exports = {
const data = res.data
if (!data || !Array.isArray(data.channels)) return []
const lang = country === 'dk' ? 'da' : country
return data.channels.map(item => ({
lang: country,
lang: lang,
site_id: `${country}#${item.id}`,
name: item.name
}))