From 32feb9075573c96736c1e8db3fb1307373e63dcf Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 17 Sep 2024 15:19:27 +0300 Subject: Fix typo. Signed-off-by: Munyoki Kilyungi --- gn3/api/metadata_api/wiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}") -- cgit v1.2.3