diff options
| author | Adam Soltys <[email protected]> | 2022-11-03 01:28:48 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-11-03 01:28:48 -0700 |
| commit | 4f5a5014cc097dc8a30f691bd49bf5055708a5e9 (patch) | |
| tree | 7d2bf5a509da2cc5465b53a4147e7754ffd65de1 /routes/payments.js | |
| parent | bba0fc2708130962cd4d9373acc3ab68c9334c7e (diff) | |
| parent | da2a1713b13b31310843136eeaabe524c4eee42c (diff) | |
| download | coinos-server-4f5a5014cc097dc8a30f691bd49bf5055708a5e9.tar.gz coinos-server-4f5a5014cc097dc8a30f691bd49bf5055708a5e9.zip | |
Merge branch 'master' into prod
Diffstat (limited to 'routes/payments.js')
| -rw-r--r-- | routes/payments.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/routes/payments.js b/routes/payments.js index d60d4e2e..dc298c1a 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -125,6 +125,11 @@ app.get("/payments", auth, async (req, res) => { model: db.Account, as: "account" }, + include: { + attrs: ["username", "profile"], + model: db.User, + as: "with" + }, limit, offset }); |
