added migration to add channelName to Claim table
This commit is contained in:
parent
12798051a9
commit
8f4c4ff44e
4 changed files with 12 additions and 113 deletions
controllers
|
@ -221,9 +221,11 @@ module.exports = {
|
|||
return db.resolveClaim(fileInfo.name, fileInfo.claimId);
|
||||
})
|
||||
.then(resolveResult => {
|
||||
logger.debug('resolve result >>', resolveResult);
|
||||
fileInfo['thumbnail'] = chooseThumbnail(resolveResult, DEFAULT_THUMBNAIL);
|
||||
fileInfo['title'] = resolveResult.title;
|
||||
fileInfo['description'] = resolveResult.description;
|
||||
if (resolveResult.certificateId) { fileInfo['certificateId'] = resolveResult.certificateId };
|
||||
showFile(fileInfo, res);
|
||||
return fileInfo;
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue