Skip to content

Commit

Permalink
- Move allChildren from beta to GA
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 committed Jan 4, 2024
1 parent 9d90365 commit 65344bc
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 19 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Next Release

- Add beta `ListChildUsers` and `GetNextChildUserPage` functions to `User` service
- Add `ListChildUsers` and `GetNextChildUserPage` functions to `User` service

## v4.0.0 (2023-12-06)

Expand Down
16 changes: 7 additions & 9 deletions tests/cassettes/TestUserAllChildUsers.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions tests/cassettes/TestUserGetNextChildUserPage.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion user.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (c *Client) ListChildUsers(opts *ListOptions) (out *ListChildUsersResult, e
// ListChildUsersWithContext performs the same operation as ListChildUsers, but allows
// specifying a context that can interrupt the request.
func (c *Client) ListChildUsersWithContext(ctx context.Context, opts *ListOptions) (out *ListChildUsersResult, err error) {
err = c.do(ctx, http.MethodGet, "/beta/users/children", c.convertOptsToURLValues(opts), &out)
err = c.do(ctx, http.MethodGet, "users/children", c.convertOptsToURLValues(opts), &out)
return
}

Expand Down

0 comments on commit 65344bc

Please sign in to comment.