Skip to content

Commit

Permalink
๐Ÿ› :: [#1074] ์นดํ…Œ๊ณ ๋ฆฌ๊ฐ€ ์ „์ฒด๋งŒ ๋…ธ์ถœ๋˜๋Š” ์˜ค๋ฅ˜ ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
KangTaeHoon committed Aug 12, 2024
1 parent 7dbb9e4 commit 2c6efab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import RxSwift
public final class RemoteFaqDataSourceImpl: BaseRemoteDataSource<FaqAPI>, RemoteFaqDataSource {
public func fetchCategories() -> Single<FaqCategoryEntity> {
return request(.fetchFaqCategories)
.map(FaqCategoryResponseDTO.self)
.map { $0.toDomain() }
.map([String].self)
.map { FaqCategoryEntity(categories: $0) }
}

public func fetchQna() -> Single<[FaqEntity]> {
Expand Down

0 comments on commit 2c6efab

Please sign in to comment.