Skip to content

Commit

Permalink
fix: Make org unit code nullable [DHIS2-17715]
Browse files Browse the repository at this point in the history
  • Loading branch information
enricocolasante committed Sep 10, 2024
1 parent 1cbcee2 commit 476e4f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") }
}

version = "3.0.0-SNAPSHOT"
version = "3.0.1-SNAPSHOT"
group = "org.hisp.dhis.rules"

if (project.hasProperty("removeSnapshotSuffix")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ data class RuleEnrollment(
val enrollmentDate: LocalDate,
val status: RuleEnrollmentStatus,
val organisationUnit: String,
val organisationUnitCode: String,
val organisationUnitCode: String?,
val attributeValues: List<RuleAttributeValue>
)
2 changes: 1 addition & 1 deletion src/jsMain/kotlin/org/hisp/dhis/rules/RuleEnrollmentJs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ data class RuleEnrollmentJs(
val enrollmentDate: kotlinx.datetime.internal.JSJoda.LocalDate,
val status: RuleEnrollmentStatus,
val organisationUnit: String,
val organisationUnitCode: String,
val organisationUnitCode: String?,
val attributeValues: Array<RuleAttributeValue>
)

0 comments on commit 476e4f4

Please sign in to comment.