correct key in map result

pull/193/head
Sebdraven 2018-06-08 18:09:59 +02:00
parent f18f8fe05a
commit 3ec1535897
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def handle_expansion(api, ip, misperrors):
if r['@category'] == 'pastries':
if r['@type'] == 'pastebin':
urls_pasties.append('https://pastebin.com/raw/%s' % r['key'])
result_filtered['results'].append({'type': ['url'], 'values': urls_pasties})
result_filtered['results'].append({'types': ['url'], 'values': urls_pasties})
return result_filtered