diff --git a/SUWIKI/SUWIKI/Data/Repositories/DefaultLectureRepository.swift b/SUWIKI/SUWIKI/Data/Repositories/DefaultLectureRepository.swift index 86a36dab..8873f050 100644 --- a/SUWIKI/SUWIKI/Data/Repositories/DefaultLectureRepository.swift +++ b/SUWIKI/SUWIKI/Data/Repositories/DefaultLectureRepository.swift @@ -7,8 +7,6 @@ import Foundation -import Alamofire - final class DefaultLectureRepository: LectureRepository { func fetch( diff --git a/SUWIKI/SUWIKI/Domain/UseCases/Auth/SignInUseCase.swift b/SUWIKI/SUWIKI/Domain/UseCases/Auth/SignInUseCase.swift index 2f1e05da..6bddb625 100644 --- a/SUWIKI/SUWIKI/Domain/UseCases/Auth/SignInUseCase.swift +++ b/SUWIKI/SUWIKI/Domain/UseCases/Auth/SignInUseCase.swift @@ -22,10 +22,7 @@ final class DefaultSignInUseCase: SignInUseCase { id: String, password: String ) async throws -> SignIn { - try await repository.login( - id: id, - password: password - ) + try await repository.login(id: id, password: password) } } diff --git a/SUWIKI/SUWIKI/Domain/UseCases/Lecture/FetchLectureUseCase.swift b/SUWIKI/SUWIKI/Domain/UseCases/Lecture/FetchLectureUseCase.swift index f33b399e..7dd276bb 100644 --- a/SUWIKI/SUWIKI/Domain/UseCases/Lecture/FetchLectureUseCase.swift +++ b/SUWIKI/SUWIKI/Domain/UseCases/Lecture/FetchLectureUseCase.swift @@ -24,8 +24,6 @@ final class DefaultFetchLectureUseCase: FetchLectureUseCase { page: Int, major: String? ) async throws -> [Lecture] { - try await repository.fetch(option: option, - page: page, - major: major) + try await repository.fetch(option: option, page: page, major: major) } } diff --git a/SUWIKI/SUWIKI/Domain/UseCases/Lecture/SearchLectureUseCase.swift b/SUWIKI/SUWIKI/Domain/UseCases/Lecture/SearchLectureUseCase.swift index 7363760c..dce1c80b 100644 --- a/SUWIKI/SUWIKI/Domain/UseCases/Lecture/SearchLectureUseCase.swift +++ b/SUWIKI/SUWIKI/Domain/UseCases/Lecture/SearchLectureUseCase.swift @@ -26,9 +26,6 @@ final class DefaultSearchLectureUseCase: SearchLectureUseCase { page: Int, major: String? ) async throws -> [Lecture] { - try await repository.search(searchText: searchText, - option: option, - page: page, - major: major) + try await repository.search(searchText: searchText, option: option, page: page, major: major) } }