From d3316b416d94fd86985830e4474365fe426baedc Mon Sep 17 00:00:00 2001 From: bill bittner Date: Tue, 31 Oct 2017 17:42:51 -0700 Subject: [PATCH] removed instance log --- controllers/serveController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/serveController.js b/controllers/serveController.js index b4f54b6d..fb52a8f2 100644 --- a/controllers/serveController.js +++ b/controllers/serveController.js @@ -67,7 +67,7 @@ function getAssetByLongClaimId (fullClaimId, name) { db.Claim .resolveClaim(name, fullClaimId) .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 (!resolveResult) { resolve(NO_CLAIM); @@ -223,7 +223,7 @@ module.exports = { return db.Claim.resolveClaim(fileInfo.name, fileInfo.claimId); }) .then(resolveResult => { - logger.debug('resolve result >>', resolveResult); + logger.debug('resolve result >>', resolveResult.dataValues); fileInfo['thumbnail'] = chooseThumbnail(resolveResult, DEFAULT_THUMBNAIL); fileInfo['title'] = resolveResult.title; fileInfo['description'] = resolveResult.description;