Skip to content

Commit 5d3f0d8

Browse files
author
Samuel Hassine
committed
Fix related-to
1 parent fcc068a commit 5d3f0d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pycti/opencti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3352,7 +3352,7 @@ def add_object_ref_to_report_if_not_exists(self, report_id, object_id):
33523352

33533353
def resolve_role(self, relation_type, from_type, to_type):
33543354
if relation_type == 'related-to':
3355-
return {'from_role': 'relates_from', 'to_role': 'relates_to'}
3355+
return {'from_role': 'relate_from', 'to_role': 'relate_to'}
33563356

33573357
relation_type = relation_type.lower()
33583358
from_type = from_type.lower()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
print("warning: pypandoc module not found, could not convert Markdown to RST")
1313
read_md = lambda f: open(f, 'r').read()
1414

15-
VERSION = "1.2.0"
15+
VERSION = "1.2.1"
1616

1717
class VerifyVersionCommand(install):
1818
description = 'verify that the git tag matches our version'

0 commit comments

Comments
 (0)