iptv/scripts/store/setters/guides.js

4 lines
95 B
JavaScript

module.exports = function ({ tvg_url, guides = [] }) {
return tvg_url ? [tvg_url] : guides
}