fix webhook plugin

This commit is contained in:
jxxghp 2023-10-04 08:01:30 +08:00
parent 2aa93fa341
commit 1b0bbbbbfd

View File

@ -158,6 +158,8 @@ class WebHook(_PluginBase):
return _event
elif hasattr(_event, '__dict__'):
return _event.__dict__
else:
return str(_event)
event_info = {
"type": event.event_type,