lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
b5f1912d4d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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.rscModel = this.ctx.model.Relation.RelationStudentCoach;
     this.lessonCoachModel = this.ctx.model.Business.LessonCoach;
     this.lessonCoachModel = this.ctx.model.Business.LessonCoach;
     this.lessonModel = this.ctx.model.Business.Lesson;
     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 }) {
   async checkCanUse({ school_id, student_id, lesson_id }) {