mirror of https://github.com/MISP/misp-modules
updated
parent
91fce45f82
commit
bb60e4742e
|
@ -29,8 +29,6 @@ def handler(q=False):
|
||||||
if 'config' not in request or (not (request['config'].get('apikey') or ('apiKey' in request['config']))):
|
if 'config' not in request or (not (request['config'].get('apikey') or ('apiKey' in request['config']))):
|
||||||
misperrors['error'] = 'WhoisFreaks authentication is missing' + request
|
misperrors['error'] = 'WhoisFreaks authentication is missing' + request
|
||||||
return misperrors
|
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'}
|
|
||||||
|
|
||||||
apiKey = request['config'].get('apikey')
|
apiKey = request['config'].get('apikey')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue