Skip to content

Commit

Permalink
Fix occurrence download (#4391)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimasciput authored Dec 5, 2024
1 parent b9438ef commit ba47993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bims/serializers/bio_collection_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def get_abundance_value(self, obj):
def get_uuid(self, obj):
if obj.uuid:
try:
return str(uuid.UUID(obj.uuid))
return str(obj.uuid)
except ValueError:
return obj.uuid
return '-'
Expand Down

0 comments on commit ba47993

Please sign in to comment.