Skip to content

Commit

Permalink
reply snow ticket: add user email to request payload
Browse files Browse the repository at this point in the history
  • Loading branch information
MJedr committed Oct 19, 2023
1 parent b31ff62 commit 17b0a82
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion inspirehep/modules/workflows/tasks/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ def reply_snow_ticket(obj, ticket_id, context_factory, user, template=None):
),
headers=_get_headers_for_hep_root_table_request(),
data=json.dumps(
{"ticket_id": str(ticket_id), "reply_message": reply_message}
{
"ticket_id": str(ticket_id),
"reply_message": reply_message,
"user_email": user.email
}
),
)
response.raise_for_status()
Expand All @@ -178,6 +182,7 @@ def reply_snow_ticket(obj, ticket_id, context_factory, user, template=None):
"ticket_id": str(ticket_id),
"template": template,
"template_context": template_context,
"user_email": user.email
}
),
)
Expand Down

0 comments on commit 17b0a82

Please sign in to comment.