Skip to content

Commit 0f345c4

Browse files
committed
[client] fix sendUserMail query
1 parent 350a841 commit 0f345c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pycti/entities/opencti_user.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,10 +799,9 @@ def send_mail(self, **kwargs):
799799
input = {
800800
"target_user_id": id,
801801
"email_template_id": template_id,
802-
"email_object": template_id,
803802
}
804803
query = """
805-
mutation SendUserMail(input: SendUserMailInput!) {
804+
mutation SendUserMail($input: SendUserMailInput!) {
806805
sendUserMail(input: $input) {
807806
}
808807
}

0 commit comments

Comments
 (0)