From c7d13690d1c0721d1ead39aecda9ba6c5307280e Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 20 Nov 2022 16:15:31 +0300 Subject: [PATCH] Update Program.js --- src/Program.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Program.js b/src/Program.js index ca65fa4..09c2dcf 100644 --- a/src/Program.js +++ b/src/Program.js @@ -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 =>