Skip to content

Commit

Permalink
docs: get-own-account is deprecated, use get-user, instead
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Jan 24, 2025
1 parent a41ce8b commit 4f3756b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mittwaldv2/client_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func ExampleNew_accessTokenFromEnvironment() {
panic(err)
}

me, _, err := client.User().GetOwnAccount(ctx, user.GetOwnAccountRequest{})
me, _, err := client.User().GetUser(ctx, user.GetUserRequest{UserID: "self"})
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 4f3756b

Please sign in to comment.