mirror of
https://github.com/vtnerd/monero-lws.git
synced 2025-01-31 22:56:04 +00:00
Fix 201 response code with webhooks (#76)
This commit is contained in:
parent
4f7669df28
commit
53caf8c3df
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ namespace lws
|
|||
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);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue