Fixes missing channel logo issue

This commit is contained in:
Aleksandr Statciuk 2022-06-17 20:00:23 +03:00
parent ad9c5c9312
commit 588d5b73cf
3 changed files with 7 additions and 10 deletions

View file

@ -51,6 +51,7 @@ async function createQueue() {
if (!channel.site || !channel.id) continue
const found = api.channels.find({ id: channel.id })
if (!found) continue
channel.logo = found.logo
for (const d of dates) {
const dString = d.toJSON()
const key = `${channel.site}:${channel.lang}:${channel.id}:${dString}`