mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
fix: [tools extract cryptocurrency] correlation type
This commit is contained in:
parent
e27f722996
commit
0dd4854916
1 changed files with 1 additions and 3 deletions
|
@ -37,8 +37,6 @@ def get_object_correlation_json(correlation_id, subtype, max_nodes):
|
|||
max_nodes = sanitise_nb_max_nodes(max_nodes)
|
||||
|
||||
object_type = 'cryptocurrency'
|
||||
type_id = 'bitcoin'
|
||||
|
||||
max_nodes = sanitise_nb_max_nodes(max_nodes)
|
||||
|
||||
# ALL correlations
|
||||
|
@ -46,7 +44,7 @@ def get_object_correlation_json(correlation_id, subtype, max_nodes):
|
|||
correlation_objects = Correlate_object.sanitise_correlation_objects('')
|
||||
|
||||
res = Correlate_object.get_graph_node_object_correlation(object_type, correlation_id, mode, correlation_names,
|
||||
correlation_objects, requested_correl_type=type_id,
|
||||
correlation_objects, requested_correl_type=subtype,
|
||||
max_nodes=max_nodes, flask_context=False)
|
||||
return res
|
||||
|
||||
|
|
Loading…
Reference in a new issue