changed tor response to 403

This commit is contained in:
bill bittner 2018-06-28 09:48:16 -07:00
parent f5e01840e3
commit faf7f5702b

View file

@ -37,7 +37,7 @@ const claimPublish = ({ body, files, headers, ip, originalUrl, user, tor }, res)
success: 'false',
message: 'Unfortunately this api route is not currently available for tor users. We are working on a solution that will allow tor users to use this endpoint in the future.',
};
return res.status(400).json(failureResponse);
return res.status(403).json(failureResponse);
}
// define variables