mirror of
https://github.com/vtnerd/monero-lws.git
synced 2024-12-23 03:49:23 +00:00
Fix response code check for webhooks (again) (#94)
This commit is contained in:
parent
4ef2d8ad34
commit
666be95001
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ namespace lws { namespace rpc
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (info->m_response_code != 200)
|
if (info->m_response_code != 200 && info->m_response_code != 201)
|
||||||
{
|
{
|
||||||
MERROR("Failed to invoke http request to " << url << ", wrong response code: " << info->m_response_code);
|
MERROR("Failed to invoke http request to " << url << ", wrong response code: " << info->m_response_code);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue