Skip to content

Commit

Permalink
Fix: searchQuestionsToAdd에 questionId필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
RinRinPARK committed Aug 13, 2024
1 parent cffc5fb commit 8daf2a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/com/swm_standard/phote/dto/QuestionDtos.kt
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ data class SearchQuestionsResponse(
}

data class SearchQuestionsToAddResponse(
val questionId: UUID,
val createdAt: LocalDateTime,
val modifiedAt: LocalDateTime? = null,
val statement: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class QuestionCustomRepositoryImpl(
return questions.map { question ->
val options = question.options?.let { question.deserializeOptions() }
SearchQuestionsToAddResponse(
questionId = question.id,
createdAt = question.createdAt,
modifiedAt = question.modifiedAt,
statement = question.statement,
Expand Down

0 comments on commit 8daf2a5

Please sign in to comment.