diff options
| author | Adam Soltys <[email protected]> | 2022-11-06 21:40:09 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-11-06 21:40:09 -0800 |
| commit | c2c183d5ac76813fd4f961baabb17ca7bb316926 (patch) | |
| tree | 38fcc6e714dec762450ecbe40d0725ee04b1ba7d /routes | |
| parent | 80dc9d070e39479270f573ebd8a446c591a77172 (diff) | |
| download | coinos-server-c2c183d5ac76813fd4f961baabb17ca7bb316926.tar.gz coinos-server-c2c183d5ac76813fd4f961baabb17ca7bb316926.zip | |
send more invoice details
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/invoices.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/routes/invoices.js b/routes/invoices.js index 074aed61..ebe4e6d5 100644 --- a/routes/invoices.js +++ b/routes/invoices.js @@ -153,6 +153,9 @@ app.post("/invoice", optionalAuth, async (req, res, next) => { if (requester) { emit(requester, "invoice", { + amount: invoice.amount, + currency: invoice.currency, + rate: invoice.rate, uuid: invoice.uuid, user: { username: user.username, profile: user.profile } }); |
