Fix 201 response code with webhooks

This commit is contained in:
Lee *!* Clagett 2023-07-05 09:59:31 -04:00
parent 246c905e37
commit 034d02328c

View file

@ -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;