Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
DesertsPan committed Sep 18, 2018
1 parent 190f6ef commit 64156de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ const request = require('request');

function sendNotification(currentComment) {
// 发送博主通知邮件
mail.notice(currentComment);
if (currentComment.get('mail') != process.env.BLOGGER_EMAIL){
mail.notice(currentComment);
}

// AT评论通知
// 获取评论内容
var comm = currentComment.get('comment');
Expand Down

0 comments on commit 64156de

Please sign in to comment.