mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-05-06 09:45:51 +00:00
fix(dingtalk): use msg_key variable instead of hardcoded
This commit is contained in:
parent
caa2aa596d
commit
73991779b3
@ -315,7 +315,7 @@ class DingTalkChannel(BaseChannel):
|
|||||||
payload = {
|
payload = {
|
||||||
"robotCode": self.config.client_id,
|
"robotCode": self.config.client_id,
|
||||||
"openConversationId": chat_id[6:], # Remove "group:" prefix,
|
"openConversationId": chat_id[6:], # Remove "group:" prefix,
|
||||||
"msgKey": "msg_key",
|
"msgKey": msg_key,
|
||||||
"msgParam": json.dumps(msg_param, ensure_ascii=False),
|
"msgParam": json.dumps(msg_param, ensure_ascii=False),
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user