mirror of
https://github.com/certd/certd.git
synced 2026-07-16 02:37:34 +08:00
fix: 修复dingtalk通知格式没有换行的bug
This commit is contained in:
@@ -121,7 +121,7 @@ export class DingTalkNotification extends BaseNotification {
|
||||
at.isAtAll = true;
|
||||
}
|
||||
|
||||
const color = body.errorMessage ? "red" : "green";
|
||||
const color = body.errorMessage ? "#CC0000": "#00CC66";
|
||||
const res = await this.http.request({
|
||||
url: webhook,
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user