Skip to content

Commit

Permalink
MONEYMONG-508 feat: 대학 정보가 없을 때의 반환값 변경(Null -> "")
Browse files Browse the repository at this point in the history
  • Loading branch information
jhg3410 committed Sep 22, 2024
1 parent 23bcb3c commit 933471d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.moneymong.moneymong.model.sign

data class UnivResponse(
val universityName: String?,
val universityName: String,
val grade: Int
)
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AgencySearchViewModel @Inject constructor(
isLoading = false,
joinedAgencies = fetchMyAgenciesResult.getOrThrow()
.map { myAgencyResponse -> myAgencyResponse.toAgency() },
isUniversityStudent = fetchMyUniversityResult.getOrThrow().universityName != null,
isUniversityStudent = fetchMyUniversityResult.getOrThrow().universityName.isNotBlank(),
)
}
} else {
Expand Down

0 comments on commit 933471d

Please sign in to comment.