From d93ebdf8ed028cf2a1c7fafbf6cce4332dd473e9 Mon Sep 17 00:00:00 2001
From: marcdeb1 <marcdebrouchev@laposte.net>
Date: Sun, 2 Dec 2018 11:03:26 +0100
Subject: [PATCH] Syntax

---
 server/controllers/lighthouse.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/controllers/lighthouse.js b/server/controllers/lighthouse.js
index 3826025..27466f1 100644
--- a/server/controllers/lighthouse.js
+++ b/server/controllers/lighthouse.js
@@ -262,12 +262,12 @@ function getFilters (input) {
     filters.push(nsfwFilter);
   }
   if (input.contentType !== undefined) {
-    const contentTypes = input.contentType.split(",");
+    const contentTypes = input.contentType.split(',');
     const contentFilter = {'terms': {'value.stream.source.contentType.keyword': contentTypes}};
     filters.push(contentFilter);
   }
   if (input.mediaType !== undefined) {
-    const mediaTypes = input.mediaType.split(",");
+    const mediaTypes = input.mediaType.split(',');
     const possibleTypes = ['audio', 'video', 'text', 'application', 'image'];
     const shouldQueries = [];
     for (var i = 0; i < mediaTypes.length; i++) {