Fix response code check for webhooks (again) (#94)

This commit is contained in:
Lee *!* Clagett 2024-03-16 21:40:12 -04:00 committed by Lee *!* Clagett
parent ecbd5d2bb2
commit 36a8f4e003

View file

@ -43,7 +43,7 @@ namespace lws { namespace rpc
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;