From e78c557feb3c0ea0068758cd2d560fff66823736 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 22 Aug 2022 16:03:58 -0700 Subject: select user currency with invoice --- routes/invoices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/invoices.js b/routes/invoices.js index b5650735..02a8308d 100644 --- a/routes/invoices.js +++ b/routes/invoices.js @@ -12,7 +12,7 @@ app.get( include: { model: db.User, as: "user", - attributes: ['username'] + attributes: ['username', 'currency'] } }); -- cgit v1.2.3