From 6682ec0fe1d6e0d8510fdb1660bdc42d5a4d73d5 Mon Sep 17 00:00:00 2001 From: Dominic Coelho Date: Thu, 20 Sep 2018 17:57:05 +0100 Subject: [PATCH] add others to list of types to filter for in sendinfo js > relates #35 --- src/controllers/sendinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/sendinfo.js b/src/controllers/sendinfo.js index 83d469c..514d5d6 100644 --- a/src/controllers/sendinfo.js +++ b/src/controllers/sendinfo.js @@ -28,7 +28,7 @@ exports.post = (req, response) => { .catch(err => console.log(err)); function filterByType(inArray) { - const types = ['meetup', 'online course', 'article', 'classroom course', 'mentor']; + const types = ['meetup', 'online course', 'article', 'classroom course', 'mentor', 'others']; const outArr = {} types.forEach(mytype => { //outArr[meetup]= filtered result