diff options
| author | Adam Soltys <[email protected]> | 2020-02-07 11:16:08 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-02-07 14:08:54 -0800 |
| commit | 1f35f914f39d6d8233ea0afcf8a92669155cc466 (patch) | |
| tree | 261865b30938024699d53982c91f04fa4fba286c /addInvoice.js | |
| parent | 2adc303bacc4f25eb5c1a8bfee542d2bc91b9fdc (diff) | |
| download | coinos-server-1f35f914f39d6d8233ea0afcf8a92669155cc466.tar.gz coinos-server-1f35f914f39d6d8233ea0afcf8a92669155cc466.zip | |
faucet
Diffstat (limited to 'addInvoice.js')
| -rw-r--r-- | addInvoice.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addInvoice.js b/addInvoice.js index 89b25b66..fa183321 100644 --- a/addInvoice.js +++ b/addInvoice.js @@ -17,9 +17,10 @@ module.exports = (app, db, lnb) => async (req, res) => { hash, amount, currency: "CAD", - rate: app.get("rates").ask, + rate: app.get("rates")[req.user.currency], tip, confirmed: 1, + asset: 'LNBTC', }); res.send(invoice); |
