mirror of https://github.com/MISP/misp-modules
updated
parent
a90a70613b
commit
91fce45f82
|
@ -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'}
|
||||
|
|
Loading…
Reference in New Issue