Skip to content

Commit 886f154

Browse files
authored
Merge 647c87d into c0f1f0c
2 parents c0f1f0c + 647c87d commit 886f154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cumulus_lambda_functions/cumulus_collections_dapa/cumulus_collections_dapa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __get_collection_id(self):
3434
if 'pathParameters' not in self.__event:
3535
return self
3636
path_param_dict = self.__event['pathParameters']
37-
if 'collectionId' not in path_param_dict:
37+
if path_param_dict is None or 'collectionId' not in path_param_dict:
3838
return self
3939
collection_id = path_param_dict['collectionId']
4040
if collection_id == '*':

0 commit comments

Comments
 (0)