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

Commit 876556f

Browse files
[client] fix work expectations computation (Opencti #10523)
1 parent d1ea603 commit 876556f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pycti/connector/opencti_connector_helper.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1932,10 +1932,6 @@ def send_stix2_bundle(self, bundle: str, **kwargs) -> list:
19321932
raise ValueError("Nothing to import")
19331933

19341934
if bundle_send_to_queue:
1935-
if work_id:
1936-
self.api.work.add_expectations(work_id, expectations_number)
1937-
if draft_id:
1938-
self.api.work.add_draft_context(work_id, draft_id)
19391935
if entities_types is None:
19401936
entities_types = []
19411937
if self.queue_protocol == "amqp":

0 commit comments

Comments
 (0)