Update update-readme.js

This commit is contained in:
Aleksandr Statciuk 2022-01-30 04:37:27 +03:00
parent da23d7e267
commit 3793895948
3 changed files with 14 additions and 10 deletions

View file

@ -27,7 +27,7 @@ async function generateGuides() {
const items = grouped[key]
const channels = items
.map(i => {
const channel = api.channels.get(i.xmltv_id)
const channel = api.channels.find({ id: i.xmltv_id })
i.name = channel.name
i.logo = channel.logo
return i