Skip to content

Commit 975faaa

Browse files
committed
✏️ fix(challenge): certification_example_image_url 필드 추가
1 parent b767e0c commit 975faaa

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

server/src/main/kotlin/com/app/server/challenge/ui/dto/response/GetChallengeResponseDto.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ data class GetChallengeResponseDto (
1414
title = challenge.title,
1515
preDescription = challenge.preDescription,
1616
description = challenge.description,
17-
imageUrl = challenge.mainImageUrl,
17+
mainImageUrl = challenge.mainImageUrl,
18+
certificationExampleImageUrl = challenge.certificationExampleImageUrl,
1819
certificationMethodDescription = challenge.certificationMethodDescription,
1920
percentOfCompletedUser = challenge.percentOfCompletedUser
2021
)
@@ -30,7 +31,9 @@ data class ChallengeResponseDto(
3031
val preDescription: String,
3132
val description: String,
3233
@JsonProperty("main_image_url")
33-
val imageUrl: String?,
34+
val mainImageUrl: String?,
35+
@JsonProperty("certification_example_image_url")
36+
val certificationExampleImageUrl: String?,
3437
@JsonProperty("certification_method_description")
3538
val certificationMethodDescription: String,
3639
@JsonProperty("participation_dates")

0 commit comments

Comments
 (0)