correct key in map result

pull/193/head
Sebdraven 5 years ago
parent f18f8fe05a
commit 3ec1535897
  1. 2
      misp_modules/modules/expansion/onyphe.py

@ -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

Loading…
Cancel
Save