Skip to content

Commit

Permalink
add others to list of types to filter for in sendinfo js > relates #35
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtualDOMinic committed Sep 20, 2018
1 parent 75d71c9 commit 6682ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/sendinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6682ec0

Please sign in to comment.