Disable generic format check for collection_coverage (#1705)
* Disable generic format check for collection_coverage This view can and must handle custom format * Remove trailing comma
This commit is contained in:
committed by
GitHub
parent
bcc5b79c9f
commit
2b00cf2eaf
@@ -269,7 +269,8 @@ def collection_coverage(request: HttpRequest,
|
||||
"""
|
||||
|
||||
return execute_from_django(
|
||||
coverages_api.get_collection_coverage, request, collection_id
|
||||
coverages_api.get_collection_coverage, request, collection_id,
|
||||
skip_valid_check=True
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -327,7 +327,7 @@ def collection_coverage(collection_id):
|
||||
"""
|
||||
|
||||
return execute_from_flask(coverages_api.get_collection_coverage, request,
|
||||
collection_id)
|
||||
collection_id, skip_valid_check=True)
|
||||
|
||||
|
||||
@BLUEPRINT.route('/collections/<path:collection_id>/tiles')
|
||||
|
||||
@@ -391,7 +391,8 @@ async def collection_coverage(request: Request, collection_id=None):
|
||||
collection_id = request.path_params['collection_id']
|
||||
|
||||
return await execute_from_starlette(
|
||||
coverages_api.get_collection_coverage, request, collection_id)
|
||||
coverages_api.get_collection_coverage, request, collection_id,
|
||||
skip_valid_check=True)
|
||||
|
||||
|
||||
async def collection_map(request: Request, collection_id, style_id=None):
|
||||
|
||||
Reference in New Issue
Block a user