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 GitHub
parent 4ef2d8ad34
commit 666be95001
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;