diff --git a/scripts/commands/guides/update.js b/scripts/commands/guides/update.js index f9b28385..e0e09b17 100644 --- a/scripts/commands/guides/update.js +++ b/scripts/commands/guides/update.js @@ -100,7 +100,7 @@ async function main() { channels = _.sortBy(channels, 'id') channels = _.uniqBy(channels, 'id') - programs = programs = _.sortBy(programs, ['channel', 'start']) + programs = _.sortBy(programs, ['channel', 'start']) programs = programs.map(p => new Program(p, new Channel(channels_dic[p.channel]))) programs = _.uniqBy(programs, p => p.channel + p.start)