diff --git a/functions/src/emails.ts b/functions/src/emails.ts index 20cd002b..c3b70734 100644 --- a/functions/src/emails.ts +++ b/functions/src/emails.ts @@ -190,7 +190,7 @@ export const sendNewCommentEmail = async ( if (bet) { const { amount, sale } = bet betDescription = `${sale || amount < 0 ? 'sold' : 'bought'} ${formatMoney( - amount + Math.abs(amount) )}` }