shields update

This commit is contained in:
Emily
2025-03-20 16:04:00 +01:00
parent afda29997d
commit 87c9aca5c4
34 changed files with 793 additions and 12 deletions

View File

@@ -55,6 +55,7 @@ export class EmailService {
try {
await this.apiContacts.createContact({ email });
await this.apiContacts.addContactToList(12, { emails: [email] })
return true;
} catch (ex) {
console.error('ERROR ADDING CONTACT', ex);
return false;

View File

@@ -58,7 +58,7 @@ app.post('/send/invite/noaccount', express.json(), async (req, res) => {
}
});
app.post('/brevolist/add', express.json(), async (req, res) => {
app.post('/send/brevolist/add', express.json(), async (req, res) => {
try {
const { email } = req.body;
const ok = await EmailService.createContact(email);