Skip to content

Commit 62157d7

Browse files
committed
fix: set nullable nomenclature fields
1 parent 63bcd35 commit 62157d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/ctrlhub/core/governance/response/Organisation.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Organisation {
3232

3333
@JsonIgnoreProperties(ignoreUnknown = true)
3434
class Settings {
35-
lateinit var nomenclature: Nomenclature
35+
var nomenclature: Nomenclature? = null
3636
}
3737

3838
/**
@@ -68,7 +68,7 @@ class OrganisationResponseMetaPage {
6868

6969
@JsonIgnoreProperties(ignoreUnknown = true)
7070
class Nomenclature {
71-
lateinit var governance: GovernanceNomenclature
71+
var governance: GovernanceNomenclature? = null
7272
}
7373

7474
@JsonIgnoreProperties(ignoreUnknown = true)

0 commit comments

Comments
 (0)