fix typing

This commit is contained in:
jxxghp
2023-06-06 10:31:30 +08:00
parent 774af91e3a
commit cc91177b92
10 changed files with 74 additions and 31 deletions

View File

@ -1,5 +1,3 @@
from typing import Any
from app.chain import _ChainBase
@ -13,7 +11,7 @@ class WebhookMessageChain(_ChainBase):
处理Webhook报文并发送消息
"""
# 获取主体内容
info = self.run_module('webhook_parser', message=message)
info: dict = self.run_module('webhook_parser', message=message)
if not info:
return
# 发送消息