mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
fix webhook_parser
This commit is contained in:
@@ -175,10 +175,9 @@ class SlackModule(_ModuleBase, _MessageBase):
|
||||
]
|
||||
}
|
||||
"""
|
||||
# 来源
|
||||
# 获取客户端
|
||||
client: Slack = self.get_client(source)
|
||||
if not client:
|
||||
client_config = self.get_config(source, 'slack')
|
||||
if not client_config:
|
||||
return None
|
||||
# 校验token
|
||||
token = args.get("token")
|
||||
|
||||
Reference in New Issue
Block a user