From 675ee83a7dd6cd5dc95c9334eb344a6805df5185 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 21 Sep 2021 12:39:34 +0300 Subject: [PATCH] Update db.js --- scripts/helpers/db.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/helpers/db.js b/scripts/helpers/db.js index f0a3b967a..52587ce38 100644 --- a/scripts/helpers/db.js +++ b/scripts/helpers/db.js @@ -84,9 +84,8 @@ db.channels = { if (!this.duplicates) { const buffer = [] output = output.filter(channel => { - const info = channel.getInfo() - if (buffer.includes(info)) return false - buffer.push(info) + if (buffer.includes(channel.hash)) return false + buffer.push(channel.hash) return true })