Skip to content

Commit ed54bcc

Browse files
author
Vianpyro
committed
Refactor error message in add_recipe endpoint for consistency
1 parent 1c002dc commit ed54bcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,4 @@ def add_recipe():
128128
import traceback
129129

130130
traceback.print_exc()
131-
return jsonify({"error": f"An internal error has occurred!"}), 500
131+
return jsonify({"error": "An internal error has occurred!"}), 500

0 commit comments

Comments
 (0)