Skip to content

Commit

Permalink
fix: use alias in stac.__get_collection_list
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato committed Dec 7, 2023
1 parent cdb56d9 commit d863295
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eodag/rest/stac.py
Expand Up @@ -625,7 +625,9 @@ def __get_collection_list(
providers = [
plugin.provider
for plugin in self.eodag_api._plugins_manager.get_search_plugins(
product_type=product_type["ID"]
product_type=(
product_type.get("_id", None) or product_type["ID"]
)
)
]
providers_models: List[Dict[str, Any]] = []
Expand Down

0 comments on commit d863295

Please sign in to comment.