removed instance log

This commit is contained in:
bill bittner 2017-10-31 17:42:51 -07:00
parent 713fa3f1e3
commit d3316b416d

View file

@ -67,7 +67,7 @@ function getAssetByLongClaimId (fullClaimId, name) {
db.Claim db.Claim
.resolveClaim(name, fullClaimId) .resolveClaim(name, fullClaimId)
.then(resolveResult => { .then(resolveResult => {
logger.debug('resolve result >> ', resolveResult); logger.debug('resolve result >> ', resolveResult.dataValues);
// if no result, return early (claim doesn't exist or isn't free) // if no result, return early (claim doesn't exist or isn't free)
if (!resolveResult) { if (!resolveResult) {
resolve(NO_CLAIM); resolve(NO_CLAIM);
@ -223,7 +223,7 @@ module.exports = {
return db.Claim.resolveClaim(fileInfo.name, fileInfo.claimId); return db.Claim.resolveClaim(fileInfo.name, fileInfo.claimId);
}) })
.then(resolveResult => { .then(resolveResult => {
logger.debug('resolve result >>', resolveResult); logger.debug('resolve result >>', resolveResult.dataValues);
fileInfo['thumbnail'] = chooseThumbnail(resolveResult, DEFAULT_THUMBNAIL); fileInfo['thumbnail'] = chooseThumbnail(resolveResult, DEFAULT_THUMBNAIL);
fileInfo['title'] = resolveResult.title; fileInfo['title'] = resolveResult.title;
fileInfo['description'] = resolveResult.description; fileInfo['description'] = resolveResult.description;