Update Program.js

This commit is contained in:
Aleksandr Statciuk 2022-11-20 16:15:31 +03:00
parent ab3680e854
commit c7d13690d1
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ class Program {
}
const data = {
site: p.site || c.site || '',
channel: p.channel || c.id || '',
site: c.site || '',
channel: c.id || '',
titles: toArray(p.titles || p.title).map(text => toTextObject(text, c.lang)),
sub_titles: toArray(p.sub_titles || p.sub_title).map(text => toTextObject(text, c.lang)),
descriptions: toArray(p.descriptions || p.description || p.desc).map(text =>