Skip to content

Commit

Permalink
IS-2581: Teste ut cronjob for ett kontor
Browse files Browse the repository at this point in the history
  • Loading branch information
geir-waagboe committed Aug 9, 2024
1 parent ce6e476 commit 50df08b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/no/nav/syfo/cronjob/CronjobModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fun cronjobModule(
dialogmeldingStatusCronjob,
verifyPartnerIdCronjob,
suspensjonCronjob,
// verifyBehandlereForKontorCronjob,
verifyBehandlereForKontorCronjob,
).forEach {
launchBackgroundTask(
applicationState = applicationState,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class VerifyBehandlereForKontorCronjob(
val verifyResult = DialogmeldingCronjobResult()

val behandlerKontorListe = behandlerService.getKontor().filter {
it.herId != null && it.dialogmeldingEnabled != null
it.herId != null && it.dialogmeldingEnabled != null && it.herId == "1841"
}
behandlerKontorListe.forEach { behandlerKontor ->
try {
Expand Down

0 comments on commit 50df08b

Please sign in to comment.