diff options
| author | Adam Soltys <[email protected]> | 2022-11-09 22:24:26 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-11-09 22:24:26 -0800 |
| commit | 490f77c0c43b12fa4ba3385ccec7a2b05eb3a8d8 (patch) | |
| tree | 6ca6e496910ca03d65dce843c83bc290d3a8f447 | |
| parent | 9958b9ed12cd41c1ab8e3866d2781686d696964d (diff) | |
| download | coinos-server-490f77c0c43b12fa4ba3385ccec7a2b05eb3a8d8.tar.gz coinos-server-490f77c0c43b12fa4ba3385ccec7a2b05eb3a8d8.zip | |
return user profile with invoice
| -rw-r--r-- | routes/invoices.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/invoices.js b/routes/invoices.js index 198189b4..6cde7de8 100644 --- a/routes/invoices.js +++ b/routes/invoices.js @@ -47,7 +47,7 @@ app.get("/invoice/:text", async (req, res, next) => { include: { model: db.User, as: "user", - attributes: ["username", "currency"] + attributes: ["username", "currency", "profile"] } }); |
