mirror of
https://github.com/vtnerd/monero-lws.git
synced 2025-03-21 22:48:45 +00:00
Fixing #14
This commit is contained in:
parent
49f8e38ffe
commit
73fd14a53f
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ namespace lws
|
||||||
response.m_response_code = 400;
|
response.m_response_code = 400;
|
||||||
response.m_response_comment = "Bad Request";
|
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_code = 403;
|
||||||
response.m_response_comment = "Forbidden";
|
response.m_response_comment = "Forbidden";
|
||||||
|
|
Loading…
Reference in a new issue