From 1b0bbbbbfd0023d80d8f70ec89e36e9a005778ae Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 4 Oct 2023 08:01:30 +0800 Subject: [PATCH] fix webhook plugin --- app/plugins/webhook/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/plugins/webhook/__init__.py b/app/plugins/webhook/__init__.py index 917e9e1e..1d20dc28 100644 --- a/app/plugins/webhook/__init__.py +++ b/app/plugins/webhook/__init__.py @@ -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,