We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff5a1c7 commit 11619fbCopy full SHA for 11619fb
src/main/kotlin/no/nav/klage/document/api/CommentsController.kt
@@ -156,7 +156,8 @@ class CommentsController(
156
),
157
comments = comment.comments.map { mapCommentToView(it) },
158
created = comment.created,
159
- modified = comment.modified
+ modified = comment.modified,
160
+ parentId = comment.parentCommentId,
161
)
162
163
private fun log(message: String) {
src/main/kotlin/no/nav/klage/document/api/views/CommentView.kt
@@ -9,7 +9,8 @@ data class CommentView(
9
val author: Author,
10
val comments: List<CommentView> = emptyList(),
11
val created: LocalDateTime,
12
- val modified: LocalDateTime
+ val modified: LocalDateTime,
13
+ val parentId: UUID?,
14
) {
15
data class Author(
16
val name: String,
0 commit comments