Skip to content

Commit 6455ccd

Browse files
author
John Wiegley
committed
Make certain members of the Issue type into Maybes
1 parent df415af commit 6455ccd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Github/Data/Definitions.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ data GitObject = GitObject {
178178
data Issue = Issue {
179179
issueClosedAt :: Maybe GithubDate
180180
,issueUpdatedAt :: GithubDate
181-
,issueHtmlUrl :: String
181+
,issueHtmlUrl :: Maybe String
182182
,issueClosedBy :: Maybe GithubOwner
183183
,issueLabels :: [IssueLabel]
184184
,issueNumber :: Int
@@ -188,7 +188,7 @@ data Issue = Issue {
188188
,issuePullRequest :: PullRequestReference
189189
,issueUrl :: String
190190
,issueCreatedAt :: GithubDate
191-
,issueBody :: String
191+
,issueBody :: Maybe String
192192
,issueState :: String
193193
,issueId :: Int
194194
,issueComments :: Int

0 commit comments

Comments
 (0)