Skip to content

Switch to v2 client for getting iam user with email#1472

Merged
MuweiHe merged 4 commits intomainfrom
get-user-by-email
Oct 19, 2022
Merged

Switch to v2 client for getting iam user with email#1472
MuweiHe merged 4 commits intomainfrom
get-user-by-email

Conversation

@MuweiHe
Copy link
Contributor

@MuweiHe MuweiHe commented Oct 19, 2022

Checklist

  1. [CRUCIAL] Is the change for CP or CCloud functionalities that are already live in prod?
    • yes: ok

What

Use v2 client whenever possible. Other instances of client.User are still needed as that returns first/last name instead of full name like v2.

References

Test & Review

@MuweiHe MuweiHe marked this pull request as ready for review October 19, 2022 00:34
@MuweiHe MuweiHe requested a review from a team as a code owner October 19, 2022 00:34
@MuweiHe MuweiHe merged commit 64a542d into main Oct 19, 2022
@MuweiHe MuweiHe deleted the get-user-by-email branch October 19, 2022 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants