Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Community API returns 500 on unknown community #1742

Closed
hevp opened this issue Jan 20, 2020 · 1 comment · Fixed by #1759
Closed

Community API returns 500 on unknown community #1742

hevp opened this issue Jan 20, 2020 · 1 comment · Fixed by #1759
Assignees

Comments

@hevp
Copy link
Member

hevp commented Jan 20, 2020

Community API returns 500 on unknown community, but should return a 404 instead.

Example: /api/communities/invalid-community-id

@hevp hevp self-assigned this Jan 20, 2020
@hjhsalo
Copy link
Member

hjhsalo commented Jan 20, 2020

Check

def pass_community(f):

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants