Skip to content

Commit c3af28d

Browse files
Merge pull request grafana#117 from grafana/add-labels-to-team-members
Add `labels` to `TeamMember`
2 parents 1bc12ec + d5fb71c commit c3af28d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

team.go

+8-7
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ type Team struct {
2929

3030
// TeamMember represents a Grafana team member.
3131
type TeamMember struct {
32-
OrgID int64 `json:"orgId,omitempty"`
33-
TeamID int64 `json:"teamId,omitempty"`
34-
UserID int64 `json:"userID,omitempty"`
35-
Email string `json:"email,omitempty"`
36-
Login string `json:"login,omitempty"`
37-
AvatarURL string `json:"avatarUrl,omitempty"`
38-
Permission int64 `json:"permission,omitempty"`
32+
OrgID int64 `json:"orgId,omitempty"`
33+
TeamID int64 `json:"teamId,omitempty"`
34+
UserID int64 `json:"userID,omitempty"`
35+
Email string `json:"email,omitempty"`
36+
Login string `json:"login,omitempty"`
37+
AvatarURL string `json:"avatarUrl,omitempty"`
38+
Permission int64 `json:"permission,omitempty"`
39+
Labels []string `json:"labels,omitempty"`
3940
}
4041

4142
// SearchTeam searches Grafana teams and returns the results.

0 commit comments

Comments
 (0)