Skip to content

Commit 1ac0b77

Browse files
committed
Added timesPreviouslyExtended to VarsletFristEvent.
1 parent fe8fed2 commit 1ac0b77

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/kotlin/no/nav/klage/oppgave/domain/kafka/InternalBehandlingEvent.kt

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ data class VarsletFristEvent(
152152
override val actor: Employee,
153153
override val timestamp: LocalDateTime,
154154
val varsletFrist: LocalDate,
155+
val timesPreviouslyExtended: Int,
155156
) : BaseEvent(actor = actor, timestamp = timestamp)
156157

157158
data class DocumentsChangedEvent(

src/main/kotlin/no/nav/klage/oppgave/service/BehandlingService.kt

+1
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,7 @@ class BehandlingService(
845845
),
846846
timestamp = behandling.modified,
847847
varsletFrist = varsletFrist,
848+
timesPreviouslyExtended = behandling.getTimesPreviouslyExtended(),
848849
)
849850
),
850851
behandlingId = behandling.id,

0 commit comments

Comments
 (0)