feat(eventsub): implement suspicious user message (#6007)
This commit is contained in:
@@ -15,5 +15,9 @@ boost::json::result_for<{{enum.full_name}}, boost::json::value>::type tag_invoke
|
||||
}
|
||||
{%- endfor %}
|
||||
|
||||
{%- if enum.default -%}
|
||||
return {{enum.full_name}}::{{enum.default}};
|
||||
{%- else -%}
|
||||
EVENTSUB_BAIL_HERE(error::Kind::UnknownEnumValue);
|
||||
{%- endif -%}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user