sendNewCommentEmail: forgot abs value
This commit is contained in:
parent
d9ee03a96f
commit
45aa6646fa
|
@ -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)
|
||||
)}`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user