mirror of https://github.com/MISP/misp-modules
Fix typo error introduced in commit: 3b7a5c4dc2
parent
b1ec21360c
commit
85d319e85e
|
@ -258,7 +258,7 @@ def handler(q=False):
|
|||
else:
|
||||
misperrors['error'] = 'Missing Recorded Future token.'
|
||||
return misperrors
|
||||
if not request.get('attribute') or not check_input_attribute(request['atttribute'], requirements=('type', 'value')):
|
||||
if not request.get('attribute') or not check_input_attribute(request['attribute'], requirements=('type', 'value')):
|
||||
return {'error': f'{standard_error_message}, {checking_error}.'}
|
||||
if request['attribute']['type'] not in mispattributes['input']:
|
||||
return {'error': 'Unsupported attribute type.'}
|
||||
|
|
Loading…
Reference in New Issue