Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions github/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -3023,9 +3023,9 @@ type ProjectCardPayload struct {
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"creator"`
CreatedAt int64 `json:"created_at"`
UpdatedAt int64 `json:"updated_at"`
ContentURL string `json:"content_url"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
ContentURL string `json:"content_url"`
} `json:"project_card"`
Repository struct {
ID int64 `json:"id"`
Expand Down
6 changes: 3 additions & 3 deletions testdata/github/project-card.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"type": "User",
"site_admin": false
},
"created_at": 1483569391,
"updated_at": 1483569391,
"created_at": "2021-04-22T14:38:41Z",
"updated_at": "2021-04-22T14:38:41Z",
"content_url": "https://github.com/api/repos/baxterthehacker/public-repo/issues/2"
},
"repository": {
Expand Down Expand Up @@ -146,4 +146,4 @@
"type": "User",
"site_admin": false
}
}
}