diff --git a/server/controllers/api/claim/longId/index.js b/server/controllers/api/claim/longId/index.js index 0eb3668c..27f66b1c 100644 --- a/server/controllers/api/claim/longId/index.js +++ b/server/controllers/api/claim/longId/index.js @@ -22,7 +22,10 @@ const claimLongId = ({ ip, originalUrl, body, params }, res) => { getClaimId(channelName, channelClaimId, claimName, claimId) .then(fullClaimId => { claimId = fullClaimId; - return db.Blocked.isNotBlocked(fullClaimId, claimName); + return db.Claim.getOutpoint(claimName, fullClaimId); + }) + .then(outpoint => { + return db.Blocked.isNotBlocked(outpoint); }) .then(() => { res.status(200).json({success: true, data: claimId});