mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 18:37:01 -05:00
Update save-results.js
This commit is contained in:
@@ -34,7 +34,7 @@ async function main() {
|
||||
if (result.channel.logo) {
|
||||
await db.channels.update(
|
||||
{ _id: result.channel._id },
|
||||
{ $set: { logo: result.channel.logo } }
|
||||
{ $set: { logo: result.channel.logo, programCount: result.programs.length } }
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user