diff options
| author | Adam Soltys <[email protected]> | 2020-06-13 21:39:22 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-06-13 21:39:22 -0700 |
| commit | 74b7d2a0d614f170ba5aea3a1a172a7a68356d80 (patch) | |
| tree | be2a73a9917616c0b49c24dc99642378e5a47549 /routes/send.js | |
| parent | dcb21adb40a44c8108f1d652cc6ddd59ae7c4024 (diff) | |
| download | coinos-server-74b7d2a0d614f170ba5aea3a1a172a7a68356d80.tar.gz coinos-server-74b7d2a0d614f170ba5aea3a1a172a7a68356d80.zip | |
push notifications
Diffstat (limited to 'routes/send.js')
| -rw-r--r-- | routes/send.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/send.js b/routes/send.js index 837a9e45..8b4137d8 100644 --- a/routes/send.js +++ b/routes/send.js @@ -122,7 +122,8 @@ module.exports = async (req, res) => { emit(user.username, "account", account); emit(user.username, "payment", payment); - l.info("received internal", user.username, payment.amount); + l.info("received internal", user.username, amount); + notify(user, `Received ${amount} SAT`); }); } catch (e) { l.error( |
