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.
2 parents 3162514 + 1f9abf4 commit 136885cCopy full SHA for 136885c
src/main/kotlin/no/nav/klage/document/service/CommentService.kt
@@ -1,5 +1,6 @@
1
package no.nav.klage.document.service
2
3
+import no.nav.klage.document.api.views.CommentView
4
import no.nav.klage.document.domain.Comment
5
import no.nav.klage.document.exceptions.MissingAccessException
6
import no.nav.klage.document.repositories.CommentRepository
@@ -89,6 +90,6 @@ class CommentService(private val commentRepository: CommentRepository) {
89
90
)
91
commentRepository.delete(comment)
92
- return commentCopy
93
+ return comment
94
}
95
0 commit comments