diff options
author | Frederick Muriuki Muriithi | 2024-09-03 10:25:25 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-03 10:25:25 -0500 |
commit | f181dbf3adf8578d2a69ca31a6d8aece6f6d8ffd (patch) | |
tree | d4f4472ac2e56b60aaefa85c1eacacb6375e577f /uploader/species/views.py | |
parent | 9b3e7b0203f582d4193def2d24a9c77683bc8456 (diff) | |
download | gn-uploader-f181dbf3adf8578d2a69ca31a6d8aece6f6d8ffd.tar.gz |
Save a species to the database.
Diffstat (limited to 'uploader/species/views.py')
-rw-r--r-- | uploader/species/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/species/views.py b/uploader/species/views.py index 3a76494..4372504 100644 --- a/uploader/species/views.py +++ b/uploader/species/views.py @@ -48,7 +48,7 @@ def create_species(): with (database_connection(app.config["SQL_URI"]) as conn, conn.cursor() as cursor): error = False - taxon_id = request.form.get("taxon_id", "").strip() or None + taxon_id = request.form.get("species_taxonomy_id", "").strip() or None common_name = request.form.get("common_name", "").strip() if not bool(common_name): |