Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit 140e9fc

Browse files
HarshitOnGitHublafriks
authored andcommitted
Add organization field to Team struct. (#134)
1 parent 6abddde commit 140e9fc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

gitea/org_team.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ package gitea
77

88
// Team represents a team in an organization
99
type Team struct {
10-
ID int64 `json:"id"`
11-
Name string `json:"name"`
12-
Description string `json:"description"`
10+
ID int64 `json:"id"`
11+
Name string `json:"name"`
12+
Description string `json:"description"`
13+
Organization *Organization `json:"organization"`
1314
// enum: none,read,write,admin,owner
1415
Permission string `json:"permission"`
1516
// enum: repo.code,repo.issues,repo.ext_issues,repo.wiki,repo.pulls,repo.releases,repo.ext_wiki

0 commit comments

Comments
 (0)