diff --git a/README.md b/README.md index f56b806..c2b67c4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # TODO -* Option in UI to add email without prompt -* validation * a point to unsubscribe * stop the ui prompting if already subscribed * send actual emails with content diff --git a/update.js b/update.js index 16c9b0a..e0ec591 100644 --- a/update.js +++ b/update.js @@ -55,9 +55,7 @@ exports.handleMessage = function(hook_name, context, callback){ } }); } - - if(alreadyExists == false && validatesAsEmail == true){ - + if(alreadyExists == false && validatesAsEmail){ console.warn ("Wrote to the database and sent client a positive response ",context.message.data.userInfo.email); exports.setAuthorEmail(