From 381a12761c9cefcacd72a2dd04447d9a60c6bc8e Mon Sep 17 00:00:00 2001 From: Thomas Uher Date: Tue, 30 Aug 2022 08:04:37 +0200 Subject: [PATCH] camelCase json --- localcosmos_server/taxonomy/lazy.py | 10 +++++----- setup.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/localcosmos_server/taxonomy/lazy.py b/localcosmos_server/taxonomy/lazy.py index 41fc8a0..57cc449 100644 --- a/localcosmos_server/taxonomy/lazy.py +++ b/localcosmos_server/taxonomy/lazy.py @@ -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 diff --git a/setup.py b/setup.py index f6e3a88..90def73 100644 --- a/setup.py +++ b/setup.py @@ -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",