Dump host info as text

pull/53/head
Raphaël Vinot 2016-09-15 15:59:08 +02:00 committed by GitHub
parent ea2f106b00
commit a0cce11964
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def handler(q=False):
def handle_expansion(api, domain):
return {'results': [{'types': mispattributes['output'], 'values': api.host(domain)}]}
return {'results': [{'types': mispattributes['output'], 'values': json.dumps(api.host(domain))}]}
def introspection():