summaryrefslogtreecommitdiffstats
path: root/server/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/api')
-rw-r--r--server/api/ipxeentries.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/api/ipxeentries.js b/server/api/ipxeentries.js
index 53f65b5..45cdc9d 100644
--- a/server/api/ipxeentries.js
+++ b/server/api/ipxeentries.js
@@ -16,7 +16,7 @@ router.getAsync('', async (req, res) => {
router.getAsync('/:id', async (req, res) => {
if (!(req.params.id > 0)) httpResponse.invalidId(res)
- const entry = await db.entry.findOne({ where: { id: req.params.id }})
+ const entry = await db.entry.findOne({ where: { id: req.params.id } })
if (entry) res.status(200).send(entry)
else httpResponse.notFound(res, req.params.id)
})