Browse Source

Add TeamID to Repository for creating organization repos.

This is required for non-owners to create organization repos on github.
Matt Landis 12 years ago
committed by Will Norris
parent
commit
1c314b0189
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      github/repos.go

+ 2
- 0
github/repos.go View File

@ -53,6 +53,8 @@ type Repository struct {
HasIssues *bool `json:"has_issues"` HasIssues *bool `json:"has_issues"`
HasWiki *bool `json:"has_wiki"` HasWiki *bool `json:"has_wiki"`
HasDownloads *bool `json:"has_downloads"` HasDownloads *bool `json:"has_downloads"`
// Creating an organization repository. Required for non-owners.
TeamID *int `json:"team_id"`
// API URLs // API URLs
URL *string `json:"url,omitempty"` URL *string `json:"url,omitempty"`


Loading…
Cancel
Save