From c2c183d5ac76813fd4f961baabb17ca7bb316926 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 6 Nov 2022 21:40:09 -0800 Subject: send more invoice details --- routes/invoices.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'routes') 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 } }); -- cgit v1.2.3