update contact info

This commit is contained in:
AJ ONeal 2018-09-17 05:13:55 +00:00
parent 68253cbe54
commit c6052bcf73
1 changed files with 6 additions and 2 deletions

View File

@ -84,7 +84,11 @@
method: 'POST' method: 'POST'
, cors: true , cors: true
, headers: new Headers({ 'Content-Type': 'application/json' }) , 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) { }).then(function (resp) {
return resp.json().then(function (data) { 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."); window.alert("Didn't get your contact. Bad network connection? Email coolaj86@gmail.com instead.");
*/ */