Skip to content

Commit

Permalink
ikke returner boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
Oddsor committed Dec 18, 2024
1 parent 0e2fa96 commit 0bf730b
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ class AdminController(

@Unprotected
@GetMapping("kontoregister/{orgnr}")
fun kontoregisterKall(@PathVariable orgnr: String): String{
fun kontoregisterKall(@PathVariable orgnr: String): String {
return "Bank kontonummer: " + kontoregisterService?.hentBankkontonummer(orgnr)
}

@Unprotected
@GetMapping("/")
fun hjem(): String?{
fun hjem(): String? {
return "Velkommen til Refusjon Admin API"
}

Expand Down Expand Up @@ -310,9 +310,8 @@ class AdminController(
@Unprotected
@PostMapping("utfoer-automatisk-utbetaling")
@Transactional
fun manuellAutomatiskUtbetaling(): Boolean {
fun manuellAutomatiskUtbetaling() {
automatiskUtbetaling.utførAutomatiskUtbetaling()
return true
}
}

Expand Down

0 comments on commit 0bf730b

Please sign in to comment.