lrf 2 år sedan
förälder
incheckning
b5f1912d4d
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      app/service/business/lessonStudent.js

+ 2 - 0
app/service/business/lessonStudent.js

@@ -13,6 +13,8 @@ class LessonStudentService extends CrudService {
     this.rscModel = this.ctx.model.Relation.RelationStudentCoach;
     this.lessonCoachModel = this.ctx.model.Business.LessonCoach;
     this.lessonModel = this.ctx.model.Business.Lesson;
+    this.rcsModel = this.ctx.model.Relation.RelationCoachSchool;
+    this.rssModel = this.ctx.model.Relation.RelationStudentSchool;
   }
 
   async checkCanUse({ school_id, student_id, lesson_id }) {