mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Renamed DESKPRO_TEAM_ID to DESKPRO_DEPT_ID to match name of param in
api call. Added DESKPRO_ASSIGNED_AGENT_TEAM_ID so that tickets routed correctly.
This commit is contained in:
@@ -14,7 +14,8 @@ def feedback():
|
||||
if form.validate_on_submit():
|
||||
data = {
|
||||
'person_email': current_app.config.get('DESKPRO_PERSON_EMAIL'),
|
||||
'department_id': current_app.config.get('DESKPRO_TEAM_ID'),
|
||||
'department_id': current_app.config.get('DESKPRO_DEPT_ID'),
|
||||
'assigned_agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'),
|
||||
'subject': 'Notify feedback',
|
||||
'message': 'Environment: {}\n\n{}\n{}\n{}'.format(
|
||||
url_for('main.index', _external=True),
|
||||
|
||||
@@ -101,7 +101,8 @@ def service_request_to_go_live(service_id):
|
||||
|
||||
data = {
|
||||
'person_email': current_app.config.get('DESKPRO_PERSON_EMAIL'),
|
||||
'department_id': current_app.config.get('DESKPRO_TEAM_ID'),
|
||||
'department_id': current_app.config.get('DESKPRO_DEPT_ID'),
|
||||
'assigned_agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'),
|
||||
'subject': 'Request to go live',
|
||||
'message': "From {} <{}> on behalf of {} ({})\n\nUsage estimate\n---\n\n{}".format(
|
||||
current_user.name,
|
||||
|
||||
Reference in New Issue
Block a user