diff --git a/server/routes/decorations.js b/server/routes/decorations.js index 0025e29..6243f21 100644 --- a/server/routes/decorations.js +++ b/server/routes/decorations.js @@ -37,9 +37,11 @@ decorationRouter.route('/') .get((req, res, next) => { const filter = {}; if (req.query.fractFilter) { - filter.fraction = { "$in" : req.query.fractFilter - .toUpperCase() - .split(',')}; + filter.fraction = { + '$in': req.query.fractFilter + .toUpperCase() + .split(','), + }; } if (req.query.q) { filter.name = {$regex: req.query.q, $options: 'i'};