aboutsummaryrefslogtreecommitdiff
path: root/gn3/api/metadata_api
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-09-17 15:19:27 +0300
committerJohn Nduli Kilyungi2024-09-18 08:32:34 +0300
commit32feb9075573c96736c1e8db3fb1307373e63dcf (patch)
tree18c678779f15ac27e2da19c8b8338bac89e7f259 /gn3/api/metadata_api
parent6ad6747e0af389a708cb26695b00ae19f07f410f (diff)
downloadgenenetwork3-32feb9075573c96736c1e8db3fb1307373e63dcf.tar.gz
Fix typo.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api/metadata_api')
-rw-r--r--gn3/api/metadata_api/wiki.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/metadata_api/wiki.py b/gn3/api/metadata_api/wiki.py
index 3dce729..0b91ce0 100644
--- a/gn3/api/metadata_api/wiki.py
+++ b/gn3/api/metadata_api/wiki.py
@@ -51,7 +51,7 @@ def edit_wiki(comment_id: int):
species_id = wiki.get_species_id(cursor, payload["species"])
next_version = wiki.get_next_comment_version(cursor, comment_id)
except wiki.MissingDBDataException as missing_exc:
- return jsonify(error=f"Error editting wiki entry, {missing_exc}"), 500
+ return jsonify(error=f"Error editing wiki entry, {missing_exc}"), 500
insert_dict["SpeciesID"] = species_id
insert_dict["versionId"] = next_version
current_app.logger.debug(f"Running query: {insert_query}")