Skip to content

Commit

Permalink
Remove unused sql param
Browse files Browse the repository at this point in the history
  • Loading branch information
tu55eladd committed Dec 20, 2024
1 parent 325214b commit 1c18d57
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ private static SkalSendes mapRow(ResultSet rs, int rowNum) {
}

public List<SkalSendes> hentVarselSomSkalSendes(int maxAntall) {
List<String> oppgavetyper = VarselType.varslerForBrukernotifikasjonstype(BrukernotifikasjonsType.OPPGAVE).stream().map(VarselType::name).toList();

SqlParameterSource parameterSource = new MapSqlParameterSource()
.addValue("oppgavetyper", oppgavetyper)
.addValue("limit", maxAntall);

return jdbcTemplate
Expand Down

0 comments on commit 1c18d57

Please sign in to comment.