Skip to content

Commit

Permalink
chore: 调整邮箱通知信息
Browse files Browse the repository at this point in the history
  • Loading branch information
iDerekLi committed Feb 13, 2023
1 parent 95450d2 commit 97deb40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/utils/notification-kit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class NotificationKit {
};

if (!auth.user || !auth.pass || auth.user === "" || auth.pass === "") {
throw new Error("邮箱功能不可用, 请先配置邮箱用户和密码。");
throw new Error("未配置邮箱。");
}

const transporter = nodemailer.createTransport({
Expand Down

0 comments on commit 97deb40

Please sign in to comment.