mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-09 15:15:15 -08:00
Fix 201 response code with webhooks (#76)
This commit is contained in:
committed by
Lee *!* Clagett
parent
fef3693899
commit
d59fed6da2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user