feat: backport webhook firehose

This commit is contained in:
Sérgio Salgado 2022-10-13 19:25:29 +01:00
parent df5bc81700
commit 45a11f91f0
4 changed files with 50 additions and 0 deletions

View file

@ -132,6 +132,10 @@ const buildTransactionMessage = (tx, rec, highValueTx, machineName, customer) =>
email: {
emailSubject,
body
},
webhook: {
topic: `New transaction`,
content: body
}
}, highValueTx]
}