Update MiscController.js to respond with objects

Changes:
- `getAllTags` (GET /api/tags)
This commit is contained in:
Paul Nettleton 2022-11-29 12:26:59 -06:00
parent 13532cba14
commit c9ab2a242d

View File

@ -137,7 +137,9 @@ class MiscController {
}) })
} }
}) })
res.json(tags) res.json({
tags: tags
})
} }
validateCronExpression(req, res) { validateCronExpression(req, res) {