perf: add debugging msg for webhook style adapters (#1253)

This commit is contained in:
Junyan Qin (Chin)
2025-03-30 23:23:31 +08:00
committed by GitHub
parent f5e98d4ebb
commit 8b56f94667
2 changed files with 7 additions and 0 deletions

View File

@@ -328,6 +328,10 @@ class LarkAdapter(adapter.MessagePlatformAdapter):
try:
data = await quart.request.json
self.ap.logger.debug(
f"Lark callback event: {data}"
)
if 'encrypt' in data:
cipher = AESCipher(self.config['encrypt-key'])
data = cipher.decrypt_string(data['encrypt'])