diff --git a/pkg/users/client.go b/pkg/users/client.go index 6731eea8..d872e5bc 100644 --- a/pkg/users/client.go +++ b/pkg/users/client.go @@ -84,7 +84,7 @@ type ListUsersResponse struct { Data []User `json:"data"` // Cursor to paginate through the list of Users - ListMetadata common.ListMetadata `json:"listMetadata"` + ListMetadata common.ListMetadata `json:"list_metadata"` } type ListUsersOpts struct { @@ -235,7 +235,7 @@ type ListAuthFactorsOpts struct { type ListAuthFactorsResponse struct { Data []mfa.Factor `json:"data"` - ListMetadata common.ListMetadata `json:"listMetadata"` + ListMetadata common.ListMetadata `json:"list_metadata"` } func NewClient(apiKey string) *Client {