Browse Source

Working on GetStudents api

Andrea Fazzi 6 năm trước cách đây
mục cha
commit
f1122d0552
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      orm/student.go

+ 3 - 3
orm/student.go

@@ -97,9 +97,9 @@ func GetStudentsAll(args map[string]string) (interface{}, error) {
 	for _, student := range students {
 		student.GetTeachers()
 	}
-	// for _, student := range students {
-	// 	student.GetActivities()
-	// }
+	for _, student := range students {
+		student.GetActivities()
+	}
 	return students, nil
 }