Skip to content

Commit be2f210

Browse files
committed
Lenient archived parsing
1 parent 1e357e5 commit be2f210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub/Data/Repos.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ instance FromJSON Repo where
158158
<*> o .: "fork"
159159
<*> o .:? "git_url"
160160
<*> o .: "private"
161-
<*> o .: "archived"
161+
<*> o .:? "archived" .!= False
162162
<*> o .:? "clone_url"
163163
<*> o .:? "size"
164164
<*> o .:? "updated_at"

0 commit comments

Comments
 (0)