From f03d75d9d830bbfc99b45fcd7009b1f13a411dba Mon Sep 17 00:00:00 2001 From: HardiReady Date: Tue, 1 Oct 2019 12:03:18 +0200 Subject: [PATCH] fix lint --- server/routes/decorations.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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'};