Skip to content

Commit

Permalink
eventId -> id
Browse files Browse the repository at this point in the history
  • Loading branch information
Amirhlotfi committed Nov 5, 2024
1 parent 8ff3e9c commit 7c7f1d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/no/nav/tms/varsel/api/varsel/alleVarsler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package no.nav.tms.varsel.api.varsel
import java.time.ZonedDateTime

data class Varsel(
@Deprecated("Use varselId") val eventId: String,
@Deprecated("Use varselId") val id: String,
@Deprecated("Use tidspunkt") val forstBehandlet: ZonedDateTime,
val isMasked: Boolean,
val spraakkode: String?,
Expand All @@ -20,7 +20,7 @@ data class Varsel(
val isMasked = varsel.innhold == null

return Varsel(
eventId = varsel.varselId,
id = varsel.varselId,
forstBehandlet = varsel.opprettet,
isMasked = isMasked,
spraakkode = varsel.innhold?.spraakkode,
Expand Down

0 comments on commit 7c7f1d2

Please sign in to comment.