-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Feat/#70] 마이페이지 api 연동 #71
base: develop
Are you sure you want to change the base?
The head ref may contain hidden characters: "FEAT/#70-\uB9C8\uC774\uD398\uC774\uC9C0-api-\uC5F0\uB3D9"
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.
LGTM
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.
몇가지 수정사항만 반영해주시면 될거 같아요
수고하셨어요!! 👍
package umc.everyones.lck.domain.model.mypage | ||
|
||
data class MyComment( | ||
val id: Int, | ||
val content: String, | ||
val postType: 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.
domain -> model -> response -> mypage로 옮게주세요!
package umc.everyones.lck.domain.model.mypage | ||
|
||
import java.io.Serializable | ||
|
||
data class MyPost( | ||
val id: Int, | ||
val title: String, | ||
val postType: String | ||
): Serializable |
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.
domain -> model -> response -> mypage로 옮게주세요!
override fun onBackPressed() { | ||
// super.onBackPressed() | ||
} |
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.
필요없는 코드는 지워주세요!
val result = runCatching { | ||
repository.updateProfiles(updateProfileRequestModel.profileImage, updateProfileRequestModel) | ||
} |
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.
repositoryImpl에서 이미 runCatching으로 잡았으니 굳이 또 안잡아도 됩니다 만약에 여기말고 다른데도 이렇게 되어있으면 다 수정해주세요!
runCatching { | ||
repository.updateTeam(updateTeamModel).onSuccess { response -> |
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으로 또 안잡아도 됩니다!
⛳️ Work Description
📸 Screenshot
📢 To Reviewers