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

⚙️ Adjust status code for data source not found response #26

Merged

Conversation

maxachis
Copy link

@maxachis maxachis commented Jun 2, 2024

ℹ️ Fix the status code returned when a data source is not found to be 200 instead of 404 in middleware/data_source_queries.py and tests/middleware/test_data_source_queries.py, per Police-Data-Accessibility-Project#312

This had been previously addressed, but merging a different branch caused this logic to revert.

ℹ️ Fix the status code returned when a data source is not found to be 200 instead of 404 in middleware/data_source_queries.py and tests/middleware/test_data_source_queries.py.
@maxachis maxachis merged commit 144d4ac into dev Jun 2, 2024
4 of 6 checks passed
@maxachis maxachis deleted the mc_issue_312_replace_http_status_code_when_source_not_found branch June 2, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant