Skip to content

Commit

Permalink
fix: 해시태그가 없다면 빈 리스트를 넣도록 변경한다
Browse files Browse the repository at this point in the history
  • Loading branch information
devbelly committed Sep 3, 2024
1 parent cfc0052 commit e30da28
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ data class CreateRecruitmentRequest(
val endDateTime: LocalDateTime,
var title: String,
var content: String,
val hashTags: List<String>,
val hashTags: List<String> = emptyList(),
val isAnonymous: Boolean = false,
) {
fun toRecruitment(userId: Long, departmentId: Long): Recruitment {
@@ -215,6 +215,6 @@ data class UpdateRecruitmentRequest(
val endDateTime: LocalDateTime,
var title: String,
var content: String,
val hashTags: List<String>,
val hashTags: List<String> = emptyList(),
val recruitable: Boolean,
)

0 comments on commit e30da28

Please sign in to comment.