Skip to content

✖️Profile for users that don't exist display TypeError #19

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

Open
Kalaborative opened this issue Jun 11, 2018 · 0 comments
Open

✖️Profile for users that don't exist display TypeError #19

Kalaborative opened this issue Jun 11, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@Kalaborative
Copy link
Owner

TypeError: The view function did not return a valid response. The function either returned None or ended without a return statement.

Solution: Provide an else clause that returns abort(404) if the user does not exist.

@Kalaborative Kalaborative added the bug Something isn't working label Jun 11, 2018
@Kalaborative Kalaborative changed the title Profile for users that don't exist display TypeError ✖️Profile for users that don't exist display TypeError Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant