From 613f1ba75e6955aae750bafb0f673f536bc45977 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 17 Sep 2018 05:13:55 +0000 Subject: [PATCH] update contact info --- app/js/app.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/js/app.js b/app/js/app.js index 5cf45a5..c9f2475 100644 --- a/app/js/app.js +++ b/app/js/app.js @@ -84,7 +84,11 @@ method: 'POST' , cors: true , headers: new Headers({ 'Content-Type': 'application/json' }) - , body: JSON.stringify({ address: email, comment: 'greenlock sub for ' + domains.join(',') }) + , body: JSON.stringify({ + address: email + , list: 'greenlock@ppl.family' + , domain: domains.join(',') + }) }).then(function (resp) { return resp.json().then(function (data) { /* @@ -94,7 +98,7 @@ } */ }); - }, function () { + }).catch(function () { /* window.alert("Didn't get your contact. Bad network connection? Email coolaj86@gmail.com instead."); */