We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e0309e + fe0d566 commit 9ca0e77Copy full SHA for 9ca0e77
sms-core/src/main/kotlin/team/msg/sms/domain/user/usecase/QueryCurrentUserProfileDetailUseCase.kt
@@ -115,10 +115,6 @@ class QueryCurrentUserProfileDetailUseCase(
115
techStacks.find { it.id == studentTechStack.techStackId }
116
117
private fun getStudentPortfolioUrl(student: Student.StudentWithUserInfo): String {
118
- return when {
119
- !student.portfolioUrl.isNullOrBlank() -> student.portfolioUrl
120
- !student.portfolioFileUrl.isNullOrBlank() -> student.portfolioFileUrl
121
- else -> ""
122
- }
+ return if(!student.portfolioUrl.isNullOrBlank()) student.portfolioUrl else ""
123
}
124
0 commit comments