Merge pull request #420 from hildenjohannes/main

Fix typo error introduced in commit: 3b7a5c4dc2541f3b07baee69a7e8b969…
pull/425/head
Alexandre Dulaunoy 2020-08-09 10:07:11 +02:00 committed by GitHub
commit c321082f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.'}