Skip to content

Commit

Permalink
resolved broken historical endpoint
Browse files Browse the repository at this point in the history
due to not updating sql for materialized view
  • Loading branch information
jwhaney committed Feb 21, 2020
1 parent a75bfe7 commit 3b1873c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions database_management/compiled_historical_collection.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ SELECT historical_collection.id as collection_id,
historical_collection.collection,
historical_collection.from_date,
historical_collection.to_date as acquisition_date,
historical_collection.photo_index_only,
historical_collection.public,
historical_collection.fully_scanned,
historical_collection.index_service_url,
Expand Down
2 changes: 1 addition & 1 deletion src/data_hub/data_hub/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def page_not_found(request, exception):
return response


def server_error(request):
def server_error(request, exception):
q = random_rec()
context = {
'status': 500,
Expand Down

0 comments on commit 3b1873c

Please sign in to comment.