feat(eventsub): handle multi enum constant keys (#6078)

This commit is contained in:
pajlada
2025-03-15 11:57:03 +01:00
committed by GitHub
parent d2ed3bbae7
commit caeb28dd9a
6 changed files with 23 additions and 1 deletions
@@ -53,6 +53,10 @@ boost::json::result_for<Type, boost::json::value>::type tag_invoke(
{
return Type::Manual;
}
if (eString == "manually_added"sv)
{
return Type::Manual;
}
if (eString == "ban_evader_detector"sv)
{
return Type::BanEvaderDetector;