diff --git a/eux-journal-webapp/src/main/kotlin/no/nav/eux/journal/webapp/ResponseEntityMapper.kt b/eux-journal-webapp/src/main/kotlin/no/nav/eux/journal/webapp/ResponseEntityMapper.kt index 793960e..1d2b225 100644 --- a/eux-journal-webapp/src/main/kotlin/no/nav/eux/journal/webapp/ResponseEntityMapper.kt +++ b/eux-journal-webapp/src/main/kotlin/no/nav/eux/journal/webapp/ResponseEntityMapper.kt @@ -1,11 +1,6 @@ package no.nav.eux.journal.webapp -import org.springframework.http.HttpStatus.CREATED import org.springframework.http.HttpStatus.OK import org.springframework.http.ResponseEntity fun T.toOkResponseEntity() = ResponseEntity(this, OK) - -fun T.toCreatedEmptyResponseEntity() = ResponseEntity(this, CREATED) - -fun T.toCreatedResponseEntity() = ResponseEntity(this, CREATED)