Skip to content

Commit d86ceae

Browse files
committed
Cloud/Examples: Fix "GetSelf" method to get the current user
1 parent fb6a196 commit d86ceae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud/examples/basic_auth/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func main() {
2121
panic(err)
2222
}
2323

24-
u, _, err := client.User.GetCurrentUser(context.Background())
24+
u, _, err := client.User.GetSelf(context.Background())
2525
if err != nil {
2626
panic(err)
2727
}

0 commit comments

Comments
 (0)