Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 7e4d340

Browse files
[client] Adapt authors integration API (#2988)
1 parent 470f11a commit 7e4d340

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pycti/entities/opencti_opinion.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,9 +576,7 @@ def import_from_stix2(self, **kwargs):
576576
)
577577
if "explanation" in stix_object
578578
else None,
579-
authors=self.opencti.stix2.convert_markdown(stix_object["authors"])
580-
if "authors" in stix_object
581-
else None,
579+
authors=stix_object["authors"] if "authors" in stix_object else None,
582580
x_opencti_stix_ids=stix_object["x_opencti_stix_ids"]
583581
if "x_opencti_stix_ids" in stix_object
584582
else None,

0 commit comments

Comments
 (0)