Skip to content

Commit

Permalink
camelCase json
Browse files Browse the repository at this point in the history
  • Loading branch information
biodiv committed Aug 30, 2022
1 parent c25d321 commit 381a127
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions localcosmos_server/taxonomy/lazy.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ def as_typeahead_choice(self, label=None):

def as_json(self):
obj = {
'taxon_latname': self.taxon_latname,
'taxon_author': self.taxon_author,
'taxon_nuid': self.taxon_nuid,
'taxon_source' : self.taxon_source,
'name_uuid': self.name_uuid,
'taxonLatname': self.taxon_latname,
'taxonAuthor': self.taxon_author,
'taxonNuid': self.taxon_nuid,
'taxonSource' : self.taxon_source,
'nameUuid': self.name_uuid,
}

return obj
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

setup(
name='localcosmos_server',
version='0.10.0',
version='0.10.1',
description='LocalCosmos Private Server. Run your own server for localcosmos.org apps.',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 381a127

Please sign in to comment.