Tracking PR for registration rewrite #5
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@
|
|||
];
|
||||
|
||||
if((rec != "all" && window.confirm("Send test email?")) || (rec == "all" && window.confirm("Send email to {{NUM_HACKERS}} recipients?"))) {
|
||||
fetch('/send', {method: 'POST', body: JSON.stringify(body), headers: headers}).then(async (res) => {
|
||||
fetch('/admin/send', {method: 'POST', body: JSON.stringify(body), headers: headers}).then(async (res) => {
|
||||
window.alert(await res.text());
|
||||
}).catch((err) => {
|
||||
window.alert("Error sending message - see console for details");
|
||||
|
|
Loading…
Add table
Reference in a new issue