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.
1 parent c0f1f0c commit 77fd09aCopy full SHA for 77fd09a
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