diff --git a/github/repos.go b/github/repos.go index 5203f3e..89e0cc4 100644 --- a/github/repos.go +++ b/github/repos.go @@ -53,6 +53,8 @@ type Repository struct { HasIssues *bool `json:"has_issues"` HasWiki *bool `json:"has_wiki"` HasDownloads *bool `json:"has_downloads"` + // Creating an organization repository. Required for non-owners. + TeamID *int `json:"team_id"` // API URLs URL *string `json:"url,omitempty"`