diff --git a/pycti/connector/opencti_connector_helper.py b/pycti/connector/opencti_connector_helper.py index 3c4497da4..5a187126f 100644 --- a/pycti/connector/opencti_connector_helper.py +++ b/pycti/connector/opencti_connector_helper.py @@ -1932,10 +1932,6 @@ def send_stix2_bundle(self, bundle: str, **kwargs) -> list: raise ValueError("Nothing to import") if bundle_send_to_queue: - if work_id: - self.api.work.add_expectations(work_id, expectations_number) - if draft_id: - self.api.work.add_draft_context(work_id, draft_id) if entities_types is None: entities_types = [] if self.queue_protocol == "amqp":