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

[IOPID-1052] Align backend to UpdateProfile (Return 412 error on email already taken) #1083

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

lucacavallaro
Copy link
Member

List of Changes

UpdateProfile now returns 412 when the given e-mail is already used by another user. This PR align the backend response with the function-app.

Blocked by pagopa/io-functions-app#290

Motivation and Context

this change is required to ensure the uniqueness of e-mail addresses

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Chore (nothing changes by a user perspective)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Sorry, something went wrong.

Copy link

Jira Pull Request Link

This Pull Request refers to the following Jira issue IOPID-1052

@gquadrati
Copy link
Contributor

/azp run

Copy link

No pipelines are associated with this pull request.

@arcogabbo arcogabbo marked this pull request as ready for review December 19, 2023 08:51
@arcogabbo arcogabbo requested a review from a team as a code owner December 19, 2023 08:51
lucacavallaro and others added 2 commits December 19, 2023 09:57

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@arcogabbo arcogabbo force-pushed the IOPID-1052-add-412-to-update-profile branch from b344a60 to d851550 Compare December 19, 2023 08:58
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@gquadrati gquadrati merged commit e7c77d8 into master Dec 19, 2023
5 checks passed
@gquadrati gquadrati deleted the IOPID-1052-add-412-to-update-profile branch December 19, 2023 09:04
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.

None yet

3 participants