fix broken claims?

https://spee.ch/@Deterrence-Dispensed:2/AR22LR-MagazineKit-1.1
This commit is contained in:
Thomas Zarebczan 2020-06-05 16:46:39 -04:00 committed by GitHub
parent 9df4d29dda
commit dfa6db6276
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,6 +104,7 @@ export default (db, table, sequelize) => ({
.findAll({ .findAll({
where: { where: {
name: claimName, name: claimName,
claim_type: 1,
publisher_id: channelClaimId, publisher_id: channelClaimId,
bid_state: { [sequelize.Op.or]: ['Controlling', 'Active', 'Accepted'] }, bid_state: { [sequelize.Op.or]: ['Controlling', 'Active', 'Accepted'] },
}, },
@ -215,6 +216,7 @@ export default (db, table, sequelize) => ({
.findAll({ .findAll({
where: { where: {
name: claimName, name: claimName,
claim_type: 1,
publisher_id: channelId, publisher_id: channelId,
}, },
}) })