forked from such-gitea/wownero-lws
Fixing #14
This commit is contained in:
@@ -772,7 +772,7 @@ namespace lws
|
||||
response.m_response_code = 400;
|
||||
response.m_response_comment = "Bad Request";
|
||||
}
|
||||
else if (body == lws::error::account_not_found)
|
||||
else if (body == lws::error::account_not_found || body == lws::error::duplicate_request)
|
||||
{
|
||||
response.m_response_code = 403;
|
||||
response.m_response_comment = "Forbidden";
|
||||
|
||||
Reference in New Issue
Block a user