send newsletter working through API for one adress
This commit is contained in:
parent
08323f4a02
commit
4f6e32bfaa
4 changed files with 9 additions and 7 deletions
|
|
@ -94,6 +94,8 @@ async function send(event, isTest = false) {
|
|||
const response = await fetch("/send-newsletter.json", headers);
|
||||
const data = await response.json();
|
||||
|
||||
console.log(data);
|
||||
|
||||
if (data.status === "success") {
|
||||
currentBtnState.value = {
|
||||
theme: "green",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue