mirror of
https://github.com/iptv-org/iptv
synced 2026-10-21 18:46:20 -04:00
Update generate.ts
This commit is contained in:
1 parent
bfba3e5f1f
commit
95c15a8011
1 file changed
+3
-1
@@ -56,7 +56,9 @@ async function main() {
|
||||
)
|
||||
|
||||
logger.info('filtering streams...')
|
||||
streams = streams.uniqBy((stream: Stream) => stream.getId() || uniqueId())
|
||||
streams = streams
|
||||
.filter((stream: Stream) => !!stream.getId())
|
||||
.uniqBy((stream: Stream) => stream.getId() || uniqueId())
|
||||
|
||||
const { categories, countries, subdivisions, cities, regions } = data
|
||||
|
||||
|
||||
Reference in new issue
Block a user