Skip to content

Commit

Permalink
removed unusd code
Browse files Browse the repository at this point in the history
  • Loading branch information
vegardlu committed Feb 20, 2024
1 parent a5cbc0c commit c516c50
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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> T.toOkResponseEntity() = ResponseEntity<T>(this, OK)

fun <T> T.toCreatedEmptyResponseEntity() = ResponseEntity<T>(this, CREATED)

fun <T> T.toCreatedResponseEntity() = ResponseEntity<T>(this, CREATED)

0 comments on commit c516c50

Please sign in to comment.