Skip to content

Commit

Permalink
add TotalCount to results when listing service maturity (#382)
Browse files Browse the repository at this point in the history
* add TotalCount to results when listing service maturity

* fix handling TotalCount
  • Loading branch information
davidbloss authored Mar 6, 2024
1 parent 8c4e04d commit f7a5030
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions maturity.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@ func (client *Client) ListServicesMaturity(variables *PayloadVariables) (*Servic
q.Account.Services.Nodes = append(q.Account.Services.Nodes, resp.Nodes...)
q.Account.Services.PageInfo = resp.PageInfo
}
q.Account.Services.TotalCount = len(q.Account.Services.Nodes)
return &q.Account.Services, nil
}

0 comments on commit f7a5030

Please sign in to comment.