diff --git a/AIStudyApp/AIStudyApp/Features/Analysis/ActivityViewModel.swift b/AIStudyApp/AIStudyApp/Features/Analysis/ActivityViewModel.swift index 084552d..94de38a 100644 --- a/AIStudyApp/AIStudyApp/Features/Analysis/ActivityViewModel.swift +++ b/AIStudyApp/AIStudyApp/Features/Analysis/ActivityViewModel.swift @@ -29,7 +29,11 @@ protocol LearningStatusServicing { func getLearningTrend(days: Int) async throws -> LearningTrendResponse func getLearningRecords(limit: Int, type: String?) async throws -> LearningRecordsResponse } -extension ReadingAPIService: LearningStatusServicing {} +extension ReadingAPIService: LearningStatusServicing { + func getLearningRecords(limit: Int, type: String?) async throws -> LearningRecordsResponse { + try await getLearningRecords(cursor: nil, limit: limit, type: type) + } +} // MARK: - ViewModel