412 blocked content #428

Merged
bones7242 merged 13 commits from 412-blocked_content into master 2018-05-01 01:07:59 +02:00
Showing only changes of commit 47a3fb865b - Show all commits

View file

@ -42,7 +42,7 @@ const getClaimIdAndServeAsset = (channelName, channelClaimId, claimName, claimId
}
if (error === BLOCKED_CLAIM) {
logger.debug('claim was blocked');
return res.status(410).json({
return res.status(451).json({
success: false,
message: 'In response to a complaint we received under the US Digital Millennium Copyright Act, we have blocked access to this content from our applications. For more details, see https://lbry.io/faq/dmca',
});