diff options
| author | Adam Soltys <[email protected]> | 2020-05-12 00:13:55 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-05-12 00:13:55 -0400 |
| commit | ea58d17b9ccee5b102f75125d16444dbc61b77b2 (patch) | |
| tree | 96156b0b30238300b2e6efcb3770c72f7b69e2f9 /routes/invoices.js | |
| parent | 2afea831615a76e18f57cb1a87f6733908db410a (diff) | |
| download | coinos-server-ea58d17b9ccee5b102f75125d16444dbc61b77b2.tar.gz coinos-server-ea58d17b9ccee5b102f75125d16444dbc61b77b2.zip | |
use db transaction for lightning receive
Diffstat (limited to 'routes/invoices.js')
| -rw-r--r-- | routes/invoices.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/invoices.js b/routes/invoices.js index f36b497c..c6bf4b6e 100644 --- a/routes/invoices.js +++ b/routes/invoices.js @@ -4,7 +4,7 @@ app.post("/invoice", auth, async (req, res) => { const { invoice } = req.body; invoice.user_id = req.user.id; - l.info("creating invoice", req.user.username, invoice.network, invoice.amount, invoice.tip, invoice.currency, invoice.rate.toFixed(2)); + l.info("creating invoice", invoice.text, req.user.username, invoice.network, invoice.amount, invoice.tip, invoice.currency, invoice.rate.toFixed(2)); const exists = await db.Invoice.findOne({ where: { |
