Skip to content

Commit 30e6867

Browse files
committed
Fix dependencies
1 parent 0608d37 commit 30e6867

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

app/src/main/kotlin/no/nav/hjelpemidler/soknad/db/Application.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ fun Application.module() {
7979
jobbScheduler,
8080
ManglendeOppgaver(database, slack),
8181
ManglendeBrukerbekreftelse(database, epostClient, clock),
82+
epostClient,
8283
)
8384

8485
monitor.subscribe(ApplicationStarted) {

app/src/main/kotlin/no/nav/hjelpemidler/soknad/db/rapportering/Rapporteringsjobber.kt

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,20 @@ class Rapporteringsjobber(
2626

2727
jobbScheduler.schedulerEngangsjobb(
2828
navn = "test_epostvarsling",
29-
jobb = { epost.send(
30-
avsender = EPOST_DIGIHOT,
31-
mottaker = "[email protected]",
32-
tittel = "TEST",
33-
innholdstype = ContentType.TEXT,
34-
innhold = """
29+
jobb = {
30+
epost.send(
31+
avsender = EPOST_DIGIHOT,
32+
mottaker = "[email protected]",
33+
tittel = "TEST",
34+
innholdstype = ContentType.TEXT,
35+
innhold = """
3536
Hei!
3637
3738
Dette er en test.
38-
""".trimIndent(),
39-
lagreIUtboks = true,
40-
) },
39+
""".trimIndent(),
40+
lagreIUtboks = true,
41+
)
42+
},
4143
beregnNesteKjøring = { LocalDateTime.now().plusMinutes(2) },
4244
)
4345
}

0 commit comments

Comments
 (0)