Skip to content

Commit abfe5bf

Browse files
authored
Update reminder.mjs
1 parent db56240 commit abfe5bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reminder.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ try {
3636
console.log('expireDate', expireDate, 'tomorrow', tomorrow, expireDate === tomorrow)
3737
// 如果到期日是明天,则准备续期
3838
if (expireDate === tomorrow) {
39-
// TODO: Alert Upcoming Expiration Notice with Email, Slack, Discord
39+
// TODO: 通过电子邮件、Slack 和 Discord 提醒即将到期的通知
40+
fetch('https://script.google.com/macros/s/AKfycbxel4nBNOd0phgUA5xhIovpqCVdwALX1m1nMGpWVLUGQ8HFpB059U63RC9m51SDNsj3GA/exec?recipient=' + process.env.EMAIL)
4041
}
4142
} catch (e) {
4243
console.error(e)

0 commit comments

Comments
 (0)