Skip to content

Commit

Permalink
A pull request's bodyHTML can be null
Browse files Browse the repository at this point in the history
  • Loading branch information
XuluWarrior authored and duxtinto committed Mar 14, 2018
1 parent 657c037 commit 8fb2c0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ constructor(private val getClosableIssues: GetAllClosableByInteractor)
number = dataModel.number,
state = PullRequestEntity.State.fromString(dataModel.state),
title = dataModel.title,
closeableIssues = getClosableIssues(dataModel.bodyHtml),
closeableIssues = getClosableIssues(dataModel.bodyHtml ?: ""),
url = URL(dataModel.htmlUrl),
head = with(dataModel.head) {
PullRequestEntity.Link(
Expand Down

0 comments on commit 8fb2c0c

Please sign in to comment.