swap out fields for reusable Response struct
@@ -45,9 +45,7 @@ type TeamsListListResponse struct {
// TeamsListDetailResponse is the API response, containing a single
// teams list.
type TeamsListDetailResponse struct {
- Success bool `json:"success"`
- Errors []string `json:"errors"`
- Messages []string `json:"messages"`
+ Response
Result TeamsList `json:"result"`
}
