updated http response code to 451

This commit is contained in:
bill bittner 2018-04-30 15:36:03 -07:00
parent 6c97b40c32
commit 47a3fb865b

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',
});