mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Assume email always provided
There’s no way for a user to submit the form without it now.
This commit is contained in:
@@ -111,10 +111,9 @@ def feedback(ticket_type):
|
||||
else:
|
||||
service_string = ''
|
||||
|
||||
feedback_msg = '{}\n{}{}'.format(
|
||||
feedback_msg = '{}\n{}'.format(
|
||||
form.feedback.data,
|
||||
service_string,
|
||||
'' if user_email else '{} (no email address supplied)'.format(form.name.data)
|
||||
)
|
||||
|
||||
zendesk_client.create_ticket(
|
||||
|
||||
Reference in New Issue
Block a user