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

⚡️ Do not permit to create receiver if it already exist in data #72

Open
anthonypillot opened this issue Nov 28, 2022 · 0 comments
Open
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@anthonypillot
Copy link
Contributor

Today, if I add a new receiver with the dedicated endpoint (POST on /receivers), there is no verification if the receiver already exists. So, to avoid spam, we need to check if the receiver already exists.

So, a check have to be done on receivers, based on the email: if the targeting email already exist in data, then respond with a 409 Conflict.

@anthonypillot anthonypillot added bug Something isn't working enhancement New feature or request labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants