diff --git a/lib/github/members.go b/lib/github/members.go index 28e4a8b..94a77f8 100644 --- a/lib/github/members.go +++ b/lib/github/members.go @@ -9,15 +9,15 @@ import ( ) type Member struct { - ID string - Login string - Name string - Organization string - SamlIdentity *SamlIdentity + ID string `json:"id,omitempty"` + Login string `json:"login,omitempty"` + Name string `json:"name,omitempty"` + Organization string `json:"organization,omitempty"` + SamlIdentity *SamlIdentity `json:"saml_identity,omitempty"` } type SamlIdentity struct { - ID string + ID string `json:"id,omitempty"` } func (c *Client) FetchOrganziationMembers(ctx context.Context, enterprise, organization string) ([]Member, error) {