Skip to content

Commit ca34fc0

Browse files
committed
[client] fix inferred api
1 parent f9b63c9 commit ca34fc0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pycti/api/opencti_api_inferred.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ def create_inferred_rel(self, **kwargs):
1616

1717
def create_inferred_entity(self, **kwargs):
1818
input = kwargs.get("input", None)
19-
self.api.app_logger.info("Creating inferred rel", {"input": input})
19+
self.api.app_logger.info("Creating inferred entity", {"input": input})
2020
query = """
21-
mutation inferredRelationAdd($jsonInput: String!) {
22-
inferredRelationAdd(jsonInput: $jsonInput)
21+
mutation inferredEntityAdd($jsonInput: String!) {
22+
inferredEntityAdd(jsonInput: $jsonInput)
2323
}
2424
"""
2525
self.api.query(query, {"jsonInput": input})

0 commit comments

Comments
 (0)