From 9b4e84941531ba97c3dc836524d1b84ee75ffcaa Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 11 Nov 2022 11:56:14 -0800 Subject: contacts endpoint --- routes/payments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/payments.js') diff --git a/routes/payments.js b/routes/payments.js index dc298c1a..416bc20a 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -126,7 +126,7 @@ app.get("/payments", auth, async (req, res) => { as: "account" }, include: { - attrs: ["username", "profile"], + attributes: ["username", "profile"], model: db.User, as: "with" }, -- cgit v1.2.3