patched resolveResult.datavalues bug in serveController
patched resolveResult.datavalues bug in serveController
This commit is contained in:
parent
3dcc714a13
commit
40cc90ce0a
1 changed files with 1 additions and 1 deletions
|
@ -67,12 +67,12 @@ function getAssetByLongClaimId (fullClaimId, name) {
|
||||||
db.Claim
|
db.Claim
|
||||||
.resolveClaim(name, fullClaimId)
|
.resolveClaim(name, fullClaimId)
|
||||||
.then(resolveResult => {
|
.then(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);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
logger.debug('resolve result >> ', resolveResult.dataValues);
|
||||||
let fileRecord = {};
|
let fileRecord = {};
|
||||||
// get the claim
|
// get the claim
|
||||||
lbryApi.getClaim(`${name}#${fullClaimId}`)
|
lbryApi.getClaim(`${name}#${fullClaimId}`)
|
||||||
|
|
Loading…
Reference in a new issue