We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e42e789 commit 7e03007Copy full SHA for 7e03007
src/GitHub/Data/GitData.hs
@@ -208,8 +208,8 @@ instance FromJSON Commit where
208
<*> o .: "parents"
209
<*> o .: "url"
210
<*> o .: "commit"
211
- <*> o .:? "committer"
212
- <*> o .:? "author"
+ <*> (o .:? "committer" <|> pure Nothing)
+ <*> (o .:? "author" <|> pure Nothing)
213
<*> o .:? "files" .!= V.empty
214
<*> o .:? "stats"
215
0 commit comments