mirror of https://github.com/MISP/misp-modules
Fix vysion.py return error
parent
807b50b5a6
commit
0a654f6394
|
@ -114,7 +114,7 @@ def handler(q=False):
|
|||
|
||||
if not request.get("attribute"):
|
||||
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"]:
|
||||
|
|
Loading…
Reference in New Issue