-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: New email templates #18754
feat: New email templates #18754
Conversation
Signed-off-by: Shrikant Sharat Kandula <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
} else { | ||
params.put("Inviter_First_Name", inviter.getEmail()); | ||
} | ||
params.put("inviterFirstName", org.apache.commons.lang3.StringUtils.defaultIfEmpty(inviter.getName(), inviter.getEmail())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except for this ugly import. Should we be trying to use only one library for string manipulations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I put up a note in my list, and intend to get back to refactoring this. I tried doing it in this PR itself, but it's not a on-line change, as other calls to StringUtils
in this class will change. Didn't want to do that here.
I'll clean this up as a separate PR soon.
Signed-off-by: Shrikant Sharat Kandula <[email protected]>
Closing as the code here has been implemented in #18717 |
No description provided.