We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0f1f0c + 647c87d commit 886f154Copy full SHA for 886f154
cumulus_lambda_functions/cumulus_collections_dapa/cumulus_collections_dapa.py
@@ -34,7 +34,7 @@ def __get_collection_id(self):
34
if 'pathParameters' not in self.__event:
35
return self
36
path_param_dict = self.__event['pathParameters']
37
- if 'collectionId' not in path_param_dict:
+ if path_param_dict is None or 'collectionId' not in path_param_dict:
38
39
collection_id = path_param_dict['collectionId']
40
if collection_id == '*':
0 commit comments