Resolve channels #150
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ module.exports = {
|
|||
getAllChannelClaims (channelId) {
|
||||
return new Promise((resolve, reject) => {
|
||||
logger.debug(`finding all claims in channel "${channelId}"`);
|
||||
db.sequelize.query(`SELECT name, claimId, outpoint, height, address FROM Claim WHERE certificateId = '${channelId}' ORDeR BY height DESC;`, { type: db.sequelize.QueryTypes.SELECT })
|
||||
db.sequelize.query(`SELECT name, claimId, outpoint, height, address, contentType FROM Claim WHERE certificateId = '${channelId}' ORDeR BY height DESC;`, { type: db.sequelize.QueryTypes.SELECT })
|
||||
.then(result => {
|
||||
switch (result.length) {
|
||||
case 0:
|
||||
|
|
Loading…
Reference in a new issue