changed tor response to 403
This commit is contained in:
parent
f5e01840e3
commit
faf7f5702b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ const claimPublish = ({ body, files, headers, ip, originalUrl, user, tor }, res)
|
||||||
success: 'false',
|
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.',
|
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
|
// define variables
|
||||||
|
|
Loading…
Reference in a new issue