Skip to content

Commit

Permalink
♻️ if문으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
enbraining committed Jul 15, 2024
1 parent 4ecc402 commit fe0d566
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ class QueryCurrentUserProfileDetailUseCase(
techStacks.find { it.id == studentTechStack.techStackId }

private fun getStudentPortfolioUrl(student: Student.StudentWithUserInfo): String {
return when {
!student.portfolioUrl.isNullOrBlank() -> student.portfolioUrl
else -> ""
}
return if(!student.portfolioUrl.isNullOrBlank()) student.portfolioUrl else ""
}
}

0 comments on commit fe0d566

Please sign in to comment.