add balance to update email
This commit is contained in:
parent
a42feca90d
commit
ab1b7c464f
3 changed files with 68 additions and 14 deletions
|
|
@ -182,7 +182,7 @@ func monitor_invoice_state(r_hash []byte) () {
|
|||
return
|
||||
}
|
||||
|
||||
go send_email(c.email_address, "bolt card receipt", "html body", "text body")
|
||||
go send_balance_email(c.email_address, card_id)
|
||||
|
||||
return
|
||||
}
|
||||
|
|
@ -278,7 +278,7 @@ func pay_invoice(card_payment_id int, invoice string) {
|
|||
return
|
||||
}
|
||||
|
||||
go send_email(c.email_address, "bolt card payment", "html body", "text body")
|
||||
go send_balance_email(c.email_address, card_id)
|
||||
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue