Skip to content

Commit a00a78f

Browse files
authored
Merge pull request #298 from phadej/archived
Add Repo.archived field
2 parents 645b280 + 5bb76f2 commit a00a78f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub/Data/Repos.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ data Repo = Repo
3838
, repoFork :: !(Maybe Bool)
3939
, repoGitUrl :: !(Maybe URL)
4040
, repoPrivate :: !Bool
41+
, repoArchived :: !Bool
4142
, repoCloneUrl :: !(Maybe URL)
4243
, repoSize :: !(Maybe Int)
4344
, repoUpdatedAt :: !(Maybe UTCTime)
@@ -157,6 +158,7 @@ instance FromJSON Repo where
157158
<*> o .: "fork"
158159
<*> o .:? "git_url"
159160
<*> o .: "private"
161+
<*> o .: "archived"
160162
<*> o .:? "clone_url"
161163
<*> o .:? "size"
162164
<*> o .:? "updated_at"

0 commit comments

Comments
 (0)