Skip to content

Commit 342ccd8

Browse files
author
Volodymyr Chernyshov
committed
Make user nullable
1 parent 31aeee0 commit 342ccd8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
-->
1313
## Master
1414
- Update `Kotlin` to `1.7.0` and added support for Apple Silicon Chipset [@gianluz] - [#231](https://github.com/danger/kotlin/pull/231)
15+
- Make user property nullable for cases when non BB user did a commit [@vchernyshov]
1516

1617
# 1.1.1
1718
- Make GitLab approvals_before_merge variable nullable [#227](https://github.com/danger/kotlin/pull/227)

danger-kotlin-library/src/main/kotlin/systems/danger/kotlin/models/bitbucket/BitBucketCloud.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ data class BitBucketCloud(
6363
@Serializable
6464
data class Author(
6565
val raw: String,
66-
val user: User
66+
val user: User?
6767
)
6868
}
6969

@@ -99,7 +99,7 @@ data class BitBucketCloud(
9999
data class Participant(
100100
val approved: Boolean,
101101
val role: Role,
102-
val user: User
102+
val user: User?
103103
) {
104104

105105
@Serializable

0 commit comments

Comments
 (0)