Skip to content
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

CON-5253-lastname-blank added logging and Unknown to the Names #1518

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pauljgraham
Copy link
Contributor

No description provided.

Copy link

sonarcloud bot commented Jun 19, 2024

Quality Gate Passed Quality Gate passed for 'das-apim-endpoints-EmployerFinance'

Issues
5 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@@ -109,8 +123,8 @@ public async Task<IEnumerable<EmployerAccountUser>> GetEmployerAccounts(Employer
{
returnList.Add(new EmployerAccountUser
{
FirstName = firstName,
LastName = lastName,
FirstName = string.IsNullOrWhiteSpace(firstName) ? "Unknown" : firstName,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we store the name as Unknown, do we run the risk of emailing "Unknown Unkown"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possibly, it depends on how those 2 claims are used down the line. I think they will only exist within EmployerAccounts and I assume for the duration of the auth session

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the user in EmployerAccounts is upserted with the values same as in finance.

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