Skip to content

Commit

Permalink
Update notification-kit.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
iDerekLi authored Jun 19, 2023
1 parent b553995 commit 6c9ee94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflows/utils/notification-kit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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));
}
}

Expand Down

0 comments on commit 6c9ee94

Please sign in to comment.