Update create-queue.js

This commit is contained in:
Aleksandr Statciuk 2022-02-04 20:52:31 +03:00
parent 42f1e8d2a3
commit fc7d0b8188
2 changed files with 3 additions and 2 deletions

View file

@ -69,6 +69,7 @@ async function createQueue() {
channel: { channel: {
lang: item.lang, lang: item.lang,
xmltv_id: item.xmltv_id, xmltv_id: item.xmltv_id,
display_name: item.name,
site_id: item.site_id, site_id: item.site_id,
site: item.site site: item.site
}, },

View file

@ -1,2 +1,2 @@
{"channel":{"lang":"ru","xmltv_id":"CNNInternationalEurope.us","site_id":"140","site":"example.com"},"date":"2022-02-03T00:00:00.000Z","configPath":"tests/__data__/input/sites/example.com.config.js","groups":["ca/example.com"],"error":null,"cluster_id":1,"_id":"vOpwztzvJ5pFSVws"} {"channel":{"lang":"ru","xmltv_id":"CNNInternationalEurope.us","display_name":"CNN International Europe","site_id":"140","site":"example.com"},"date":"2022-02-03T00:00:00.000Z","configPath":"tests/__data__/input/sites/example.com.config.js","groups":["ca/example.com"],"error":null,"cluster_id":1,"_id":"vOpwztzvJ5pFSVws"}
{"channel":{"lang":"ru","xmltv_id":"CNNInternationalEurope.us","site_id":"140","site":"example.com"},"date":"2022-02-04T00:00:00.000Z","configPath":"tests/__data__/input/sites/example.com.config.js","groups":["ca/example.com"],"error":null,"cluster_id":1,"_id":"sP2A0zQSOoVg0BS1"} {"channel":{"lang":"ru","xmltv_id":"CNNInternationalEurope.us","display_name":"CNN International Europe","site_id":"140","site":"example.com"},"date":"2022-02-04T00:00:00.000Z","configPath":"tests/__data__/input/sites/example.com.config.js","groups":["ca/example.com"],"error":null,"cluster_id":1,"_id":"sP2A0zQSOoVg0BS1"}