mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-21 02:44:42 -05:00
send user contact info to deskpro correctly
previously we were erroneously setting our own reply email rather
than using the user's provided one 😵
This commit is contained in:
@@ -9,7 +9,8 @@ def feedback():
|
||||
form = Feedback()
|
||||
if form.validate_on_submit():
|
||||
data = {
|
||||
'person_email': current_app.config.get('DESKPRO_PERSON_EMAIL'),
|
||||
'person_email': form.email_address.data,
|
||||
'person_name': form.name.data,
|
||||
'department_id': current_app.config.get('DESKPRO_DEPT_ID'),
|
||||
'agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'),
|
||||
'subject': 'Notify feedback',
|
||||
|
||||
@@ -103,7 +103,8 @@ def service_request_to_go_live(service_id):
|
||||
if form.validate_on_submit():
|
||||
|
||||
data = {
|
||||
'person_email': current_app.config.get('DESKPRO_PERSON_EMAIL'),
|
||||
'person_email': current_user.email_address,
|
||||
'person_name': current_user.name,
|
||||
'department_id': current_app.config.get('DESKPRO_DEPT_ID'),
|
||||
'agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'),
|
||||
'subject': 'Request to go live',
|
||||
|
||||
Reference in New Issue
Block a user