Skip to content

Commit

Permalink
Fix GoalProof Create URL is Null --> ""
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Diger committed Jan 5, 2024
1 parent e0c9577 commit 7334a79
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
Expand Up @@ -30,7 +30,7 @@ class GoalProofController(
goalProofApplicationService.create(
userId = userInfo.id,
goalId = goalProofCreateRequest.goalId,
url = goalProofCreateRequest.url,
url = goalProofCreateRequest.url ?: "",
comment = goalProofCreateRequest.comment,
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data class GoalProofCreateRequest(
val goalId: Long,

@Schema(description = "다짐 인증에 사용한 이미지 url")
val url: String,
val url: String?,

@Schema(description = "다짐 인증에 대한 부연설명")
val comment: String
Expand Down

0 comments on commit 7334a79

Please sign in to comment.