summaryrefslogtreecommitdiffstats
path: root/server/api
diff options
context:
space:
mode:
authorUdo Walter2019-03-31 15:50:35 +0200
committerUdo Walter2019-03-31 15:50:35 +0200
commitfca78fe4d8f9f453cb88b7f087fd9c032bfcf8a0 (patch)
treec05110a0e2267d338da2ff018d696ebfa91c9c44 /server/api
parent[server/ipxeconfigs] add more responses (diff)
downloadbas-fca78fe4d8f9f453cb88b7f087fd9c032bfcf8a0.tar.gz
bas-fca78fe4d8f9f453cb88b7f087fd9c032bfcf8a0.tar.xz
bas-fca78fe4d8f9f453cb88b7f087fd9c032bfcf8a0.zip
[server/ipxeconfigs] eslint fixes
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)
})