Fix response code check for webhooks (again)

This commit is contained in:
Lee *!* Clagett 2024-02-17 20:26:20 -05:00
parent 83b71d3f5a
commit d78b6a4368

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;