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

Able to register new bots with existing email/name when using MemoryStorage #15

Open
indrif opened this issue Aug 29, 2017 · 0 comments
Labels

Comments

@indrif
Copy link
Contributor

indrif commented Aug 29, 2017

Example run:

POST /bots {'name': 'Testbot', 'email': '[email protected]'}
<<< 200 {"id":null,"name":"Testbot","email":"[email protected]","token":"c1bb670c-fb46-4203-a96c-c669eebc1b90","boardToken":null}
Received token c1bb670c-fb46-4203-a96c-c669eebc1b90
POST /bots {'name': 'Testbot', 'email': '[email protected]'}
<<< 200 {"id":null,"name":"Testbot","email":"[email protected]","token":"a0d74eed-5cd4-4d5f-a3c8-6cdf9b04ab4a","boardToken":null}
Received token a0d74eed-5cd4-4d5f-a3c8-6cdf9b04ab4a

Should receive 409 status from second POST.

Environment:
MemoryStorage

@indrif indrif added the bug label Aug 29, 2017
@indrif indrif changed the title Able to register new bots with existing email/name Able to register new bots with existing email/name when using MemoryStorage Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant