tasks+ops: ozon-фиксы приняты, стенд пересобран (их Dockerfile), envelope ✓; bridge на вложенный контракт

This commit is contained in:
2026-08-20 20:46:59 +03:00
parent 099742fdef
commit 61e1a9e61a
4 changed files with 12 additions and 41 deletions

View File

@@ -79,11 +79,14 @@ async function sendEmail(m) {
headers: { 'content-type': 'application/json' },
body: JSON.stringify({
api_key: UNISENDER_API_KEY,
email: EMAIL_TO,
sender_name: 'sched-pipeline',
sender_email: UNISENDER_FROM,
subject: m.title,
body: m.body,
message: {
template_engine: 'velocity',
body: { text: m.body },
subject: m.title,
from_email: UNISENDER_FROM,
from_name: 'sched-pipeline',
recipients: [{ email: EMAIL_TO }],
},
}),
});
const text = await res.text();