/**
 * Created by Songzhou Yang on 12/1/2016.
 */

const getCourse = async (user, courseID) => {
  return user.courses.find(c => c.courseID === courseID)
}

exports.getCourse = getCourse

@@ -67,17 +67,16 @@
  = async
- 
 (user, c
@@ -135,16 +135,43 @@
 seID ===
+ courseID %7C%7C c.courseNS ===
  courseI

add query of courseNS