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

Always says success even when there is an issue sending an email #9

Open
nastassiar opened this issue May 26, 2017 · 1 comment
Open

Comments

@nastassiar
Copy link
Contributor

Even when there is a 404 or 400 response from the notify_police function that token.send is calling a success message will always be shown

@bjeans
Copy link

bjeans commented Jul 26, 2017

The issue seems to be in the tokenController.js file which always returns a 200 success message. It doesn't parse the response back from the token.send function and look for an actual result code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants