We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5573046 commit 157cf84Copy full SHA for 157cf84
converter/converter/converter.py
@@ -32,7 +32,7 @@ def raise_error(message, code: int = 400):
32
return jsonify({"error": message}), code
33
34
35
-def extract_message_type_from_paylaod():
+def extract_message_type_from_payload():
36
try:
37
data = request.get_json(silent=True) or {}
38
edxl_json = data.get("edxl")
@@ -49,7 +49,7 @@ def extract_message_type_from_paylaod():
49
"The number of seconds it took to the /convert endpoint to answer",
50
labels={
51
"status": lambda r: r.status_code,
52
- "message_type": extract_message_type_from_paylaod,
+ "message_type": extract_message_type_from_payload,
53
},
54
)
55
def convert():
0 commit comments