-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#64 [feat] 행복 루틴 추가하기(목록) 뷰 API 연결 #67
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이제 조금 감이 오셨으려나요~~
runCatching { happinessRoutineDataSource.getHappyChip() }.map { response -> | ||
requireNotNull(response.data).toHappyChip() | ||
} | ||
|
||
override suspend fun getHappyContent(themeId: Int): Result<List<HappyContent>> = | ||
runCatching { happinessRoutineDataSource.getHappyContent(themeId) }.map { response -> | ||
requireNotNull(response.data).toHappyContent() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data class 내부 toHappyContent에서 map을 하고 있기 때문에 여기서 중복으로 해줄 필요는 없어 보입니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분을 반영하지 못하고 머지를 해버렸습니다ㅜ 추후 QA에 이슈를 파서 작업하겠습니다. 죄송합니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
api 잘 붙이는법좀..
val title: String, | ||
val content: String, | ||
@DrawableRes val imageUrl: Int, | ||
val iconImageUrl: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
바꾸셨군용
📑 Work Description
🛠️ Issue
📷 Screenshot
Screen_Recording_20240116_143230_Softie.mp4
💬 To Reviewers