Skip to content

Commit 136885c

Browse files
committed
Merge branch 'refs/heads/main' into add-data
# Conflicts: # src/main/kotlin/no/nav/klage/document/service/CommentService.kt
2 parents 3162514 + 1f9abf4 commit 136885c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/no/nav/klage/document/service/CommentService.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package no.nav.klage.document.service
22

3+
import no.nav.klage.document.api.views.CommentView
34
import no.nav.klage.document.domain.Comment
45
import no.nav.klage.document.exceptions.MissingAccessException
56
import no.nav.klage.document.repositories.CommentRepository
@@ -89,6 +90,6 @@ class CommentService(private val commentRepository: CommentRepository) {
8990
)
9091
commentRepository.delete(comment)
9192

92-
return commentCopy
93+
return comment
9394
}
9495
}

0 commit comments

Comments
 (0)