diff --git a/misp_modules/modules/expansion/whoisfreaks.py b/misp_modules/modules/expansion/whoisfreaks.py index a4494984..c5d53e35 100644 --- a/misp_modules/modules/expansion/whoisfreaks.py +++ b/misp_modules/modules/expansion/whoisfreaks.py @@ -27,7 +27,7 @@ def handler(q=False): request = json.loads(q) if 'config' not in request or (not (request['config'].get('apikey') or ('apiKey' in request['config']))): - misperrors['error'] = 'WhoisFreaks authentication is missing' + misperrors['error'] = 'WhoisFreaks authentication is missing' + request return misperrors if not request.get('attribute') or not check_input_attribute(request['attribute']): return {'error': f'{standard_error_message}, which should contain at least a single attribute'}