Fix vysion.py return error

pull/646/head
Germán Esteban López 2023-12-20 16:11:56 +01:00
parent 807b50b5a6
commit 0a654f6394
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ def handler(q=False):
if not request.get("attribute"): if not request.get("attribute"):
return { return {
"error": f"{standard_error_message}, which should contain at least a type, a value and an uuid." "error": "The request is missing required attribute information, which should contain at least a type, a value, and a UUID."
} }
if request["attribute"]["type"] not in mispattributes["input"]: if request["attribute"]["type"] not in mispattributes["input"]: