message: fix media definition
diff: @@ -27,12 +27,11 @@ const courseSchema = new mongoose.Schema({
  type: mongoose.Schema.Types.ObjectId,
  ref: 'User'
  },
  - media: [
  + media:
  {
  type: mongoose.Schema.Types.ObjectId,
  ref: 'IDirectory'
  - }
  - ],
  + },
  teachers: [
  {
  type: mongoose.Schema.Types.ObjectId,
  