Skip to content

Commit

Permalink
Nå skal putmapping fungere som forventet #deploy-levende-arbeidsforho…
Browse files Browse the repository at this point in the history
…ld-ansettelse
  • Loading branch information
Andrea-Devold-Fjeld committed Jul 26, 2024
1 parent 4a71ec2 commit 90637cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ public ResponseEntity<JobbParameter> oppdatereVerdier(@PathVariable("parameterNa
log.info("Fått PUT-request parameternavn: {}, verdi: {}", parameterNavn, verdi);

JobbParameter jobbParameter = jobbService.hentJobbParameter(parameterNavn);
log.info("Jobbparameter: {}", jobbParameter.toString() );
verdi = verdi.replace("\"","");
log.info("Jobbparameter: {}", jobbParameter.getVerdi() );
jobbParameter.setVerdi(verdi);
log.info("verdi satt {}", jobbParameter.toString());
log.info("verdi satt {}", jobbParameter.getVerdi());
return ResponseEntity.ok(jobbService.updateVerdi(jobbParameter));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class test {

private final JobbService jobbService;
private final KodeverkService kodeverkService;
@EventListener(ApplicationReadyEvent.class)
//@EventListener(ApplicationReadyEvent.class)
public void testDb() {

List<JobbParameter> jobb2 = jobbService.hentAlleParametere();
Expand Down

0 comments on commit 90637cc

Please sign in to comment.