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, }, })