Skip to content

Commit 20be2a7

Browse files
committed
refactor: inline _fetchCourseFromNetwork into getCourse
1 parent daff148 commit 20be2a7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/repositories/course_repository.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -556,10 +556,6 @@ class CourseRepository {
556556
}
557557
}
558558

559-
return _fetchCourseFromNetwork(code);
560-
}
561-
562-
Future<Course> _fetchCourseFromNetwork(String code) async {
563559
final dto = await _authRepository.withAuth(
564560
() => _courseService.getCourse(code),
565561
sso: [.courseService],

0 commit comments

Comments
 (0)