diff --git a/controllers/serveController.js b/controllers/serveController.js index fdbfcd81..450d6ba8 100644 --- a/controllers/serveController.js +++ b/controllers/serveController.js @@ -105,7 +105,7 @@ module.exports = { if (!claim) { throw new Error('no record found in Claim table'); } - claim.dataValues.thumbnail = module.exports.chooseThumbnail(claim.dataValues.thumbnail, DEFAULT_THUMBNAIL); + claim.dataValues.thumbnail = module.exports.chooseThumbnail(claim.dataValues, DEFAULT_THUMBNAIL); claim.dataValues.fileExt = module.exports.determineFileExtensionFromContentType(claim.dataValues.contentType); return claim.dataValues; }); diff --git a/routes/serve-routes.js b/routes/serve-routes.js index fd45f3be..b0383bc5 100644 --- a/routes/serve-routes.js +++ b/routes/serve-routes.js @@ -172,7 +172,6 @@ function determineName (uri) { } function showAssetToClient (claimId, name, res) { - // check for local file info, resolve the claim, and get the short return Promise .all([getClaimRecord(claimId, name), db.Claim.getShortClaimIdFromLongClaimId(claimId, name)]) .then(([claimInfo, shortClaimId]) => { diff --git a/views/partials/asset.handlebars b/views/partials/asset.handlebars index 7cc50511..96f06d0e 100644 --- a/views/partials/asset.handlebars +++ b/views/partials/asset.handlebars @@ -1,6 +1,9 @@
Sit tight, we're searching the LBRY blockchain for your asset!
+Sit tight, we're searching the LBRY blockchain for your asset!
+ {{> progressBar}} +Unfortunately, we couldn't download your asset from LBRY. You can help us out by sharing the below error message in the LBRY discord.
@@ -21,7 +24,7 @@ \ No newline at end of file