fix: [UI correlation graph] fix item links

This commit is contained in:
Terrtia 2020-10-13 16:26:54 +02:00
parent afc7cfc77d
commit 1d8aa44d8b
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -226,7 +226,7 @@ def get_item_url(correlation_name, value, correlation_type=None):
endpoint = 'objects_item.showItem'
url = url_for(endpoint, id=value)
elif correlation_name == 'paste': ### # TODO: remove me
endpoint = 'showsavedpastes.showsavedpaste'
endpoint = 'objects_item.showItem'
url = url_for(endpoint, paste=value)
return url