Skip to content

Commit a6d421d

Browse files
committed
Make "repo" in PullRequestCommit nullable.
In rare cases, the repo can become null. Fixes #310.
1 parent 2353807 commit a6d421d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub/Data/PullRequests.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ data PullRequestCommit = PullRequestCommit
136136
, pullRequestCommitRef :: !Text
137137
, pullRequestCommitSha :: !Text
138138
, pullRequestCommitUser :: !SimpleUser
139-
, pullRequestCommitRepo :: !Repo
139+
, pullRequestCommitRepo :: !(Maybe Repo)
140140
}
141141
deriving (Show, Data, Typeable, Eq, Ord, Generic)
142142

0 commit comments

Comments
 (0)