Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 940581d

Browse files
committed
Change type of repoPushedAt to (Maybe GithubDate)
pushed_at may be null
1 parent 7f47b11 commit 940581d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Github/Data/Definitions.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ data Repo = Repo {
357357
,repoName :: String
358358
,repoLanguage :: Maybe String
359359
,repoMasterBranch :: Maybe String
360-
,repoPushedAt :: GithubDate
360+
,repoPushedAt :: Maybe GithubDate -- ^ this is Nothing for new repositories
361361
,repoId :: Int
362362
,repoUrl :: String
363363
,repoOpenIssues :: Int

0 commit comments

Comments
 (0)