Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Jan 8, 2025
1 parent a5714d9 commit 1821a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycsw/stac/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def manage_collection_item(self, headers_, action='create', item=None, data=None
LOGGER.debug('STAC Collection detected')
if collection is not None:
data['collection'] = collection
if 'id' in data:
if data is not None and 'id' in data:
item=data['id']

return super().manage_collection_item(
Expand Down

0 comments on commit 1821a10

Please sign in to comment.