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

Commit d11d352

Browse files
author
Samuel Hassine
committed
[client] Fix stix relations author check
1 parent 3b0b436 commit d11d352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycti/entities/opencti_stix_relation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def create(self, **kwargs):
432432
customAttributes=custom_attributes,
433433
)
434434
if stix_relation_result is not None:
435-
if update or object_result["createdByRef"] == created_by_ref:
435+
if update or stix_relation_result["createdByRef"] == created_by_ref:
436436
if (
437437
description is not None
438438
and stix_relation_result["description"] != description

0 commit comments

Comments
 (0)