mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
debug email trigger recipient
This commit is contained in:
@@ -88,6 +88,7 @@ const emailOnUpdate = (config: EmailOnTriggerConfig) =>
|
||||
if (shouldSend && hasAllRequiredFields) {
|
||||
const from = await config.from(afterData, db);
|
||||
const to = await config.to(afterData, db);
|
||||
console.log(JSON.stringify({ to }));
|
||||
const msg = {
|
||||
from,
|
||||
personalizations: [
|
||||
|
||||
Reference in New Issue
Block a user