fixed logging error for channel-based claim Id search
This commit is contained in:
parent
4ea983b023
commit
4dccedc5d0
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ module.exports = (sequelize, { STRING, BOOLEAN, INTEGER, TEXT, DECIMAL }) => {
|
||||||
case 1:
|
case 1:
|
||||||
return resolve(result[0].claimId);
|
return resolve(result[0].claimId);
|
||||||
default:
|
default:
|
||||||
logger.error(`${result.length} records found for ${claimName} from channel ${claimName}`);
|
logger.error(`${result.length} records found for "${claimName}" in channel "${channelClaimId}"`);
|
||||||
return resolve(result[0].claimId);
|
return resolve(result[0].claimId);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue