diff --git a/workflows/utils/notification-kit.ts b/workflows/utils/notification-kit.ts index 3f38d4a2..24c58800 100644 --- a/workflows/utils/notification-kit.ts +++ b/workflows/utils/notification-kit.ts @@ -139,7 +139,7 @@ export class NotificationKit { async serverPush(options: PushPlusOptions) { const token: string | unknown = env.SERVERPUSHKEY; if (!token || token === "") { - throw new Error("未配置server酱 key。"); + throw new Error("未配置Server酱 key。"); } const config = { @@ -229,7 +229,7 @@ export class NotificationKit { await trycatch("钉钉", this.dingtalkWebhook.bind(this)); await trycatch("微信", this.wecomWebhook.bind(this)); await trycatch("PushPlus", this.pushplus.bind(this)); - await trycatch("server酱", this.serverPush.bind(this)); + await trycatch("Server酱", this.serverPush.bind(this)); } }