Skip to content

Commit b83849c

Browse files
authored
Merge pull request #211 from danger/optional_last_review
Fix lastReviewedCommit optionality
2 parents 876b1ca + 7954138 commit b83849c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
## Master
1414

1515
- Make `force_remove_source_branch` nullable in GitLab Merge request entity [@davidbilik] - [#197](https://github.com/danger/kotlin/pull/197)
16+
- Make `lastReviewedCommit` nullable on BitBucket Server [@f-meloni] - [#211](https://github.com/danger/kotlin/pull/211)
1617
- Update `GitLabMergeRequest` model: add `squash` field [@sonulen] - [#212](https://github.com/danger/kotlin/pull/212)
1718
- Add Gitlab extensions for url's: to project, to file diff, to current version of file [@sonulen] - [#212](https://github.com/danger/kotlin/pull/212)
1819

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ data class BitBucketServerParticipant(
234234
data class BitBucketServerReviewer(
235235
val user: BitBucketServerUser,
236236
val approved: Boolean,
237-
val lastReviewedCommit: String?
237+
val lastReviewedCommit: String? = null
238238
)
239239

240240
/**

0 commit comments

Comments
 (0)