Skip to content

Commit 850a8cd

Browse files
authored
fix: error msg
1 parent a18b8bb commit 850a8cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def calculate_cvss():
2222
elif vector.startswith("CVSS:4."):
2323
score = CVSS4(vector).scores()[0] # Base Score
2424
else:
25-
return jsonify({"error": "Unsupported or invalsid CVSS version"}), 400
25+
return jsonify({"error": "Unsupported or invalid CVSS vector string"}), 400
2626

2727
return jsonify({"cvss_vector": vector, "cvss_score": score, "api_version": version})
2828
except Exception as e:

0 commit comments

Comments
 (0)