Skip to content

Commit

Permalink
Use list_metadata (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
amygdalama authored Oct 27, 2023
1 parent 47008a7 commit 83b39c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/users/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 83b39c1

Please sign in to comment.