summaryrefslogtreecommitdiffstats
path: root/server/api/clients.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/api/clients.js')
-rw-r--r--server/api/clients.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/api/clients.js b/server/api/clients.js
index 3152e10..a6d151a 100644
--- a/server/api/clients.js
+++ b/server/api/clients.js
@@ -18,7 +18,7 @@ router.getAsync('', async (req, res) => {
router.getAsync('/:id', async (req, res) => {
if (!(req.params.id > 0)) return HttpResponse.invalidId().send(res)
- const client = await db.client.findOne({ where: { id: req.params.id }, include: ['groups'] })
+ const client = await db.client.findOne({ where: { id: req.params.id }, include: ['groups', 'config'] })
if (client) res.status(200).send(client)
else HttpResponse.notFound(req.params.id).send(res)
})