From dfa6db6276b9a3777b1370824b04c128c74a3b6c Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Fri, 5 Jun 2020 16:46:39 -0400 Subject: [PATCH] fix broken claims? https://spee.ch/@Deterrence-Dispensed:2/AR22LR-MagazineKit-1.1 --- server/chainquery/queries/claimQueries.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/chainquery/queries/claimQueries.js b/server/chainquery/queries/claimQueries.js index 9a4cc1a5..f5c736ca 100644 --- a/server/chainquery/queries/claimQueries.js +++ b/server/chainquery/queries/claimQueries.js @@ -104,6 +104,7 @@ export default (db, table, sequelize) => ({ .findAll({ where: { name: claimName, + claim_type: 1, publisher_id: channelClaimId, bid_state: { [sequelize.Op.or]: ['Controlling', 'Active', 'Accepted'] }, }, @@ -215,6 +216,7 @@ export default (db, table, sequelize) => ({ .findAll({ where: { name: claimName, + claim_type: 1, publisher_id: channelId, }, })