From cb4a116d8ece5a1a3542e6821fd5a853274a2945 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Wed, 23 Aug 2017 22:35:37 -0700 Subject: [PATCH] fixed license and description on channel page --- helpers/serveHelpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/serveHelpers.js b/helpers/serveHelpers.js index d95ca7e0..34acf1ae 100644 --- a/helpers/serveHelpers.js +++ b/helpers/serveHelpers.js @@ -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, contentType FROM Claim WHERE certificateId = '${channelId}' ORDeR BY height DESC;`, { type: db.sequelize.QueryTypes.SELECT }) + db.sequelize.query(`SELECT name, claimId, outpoint, height, address, contentType, title, description, license FROM Claim WHERE certificateId = '${channelId}' ORDeR BY height DESC;`, { type: db.sequelize.QueryTypes.SELECT }) .then(result => { switch (result.length) { case 0: