Skip to content

Commit ae277ba

Browse files
committed
Fixing small bug so it constructs email correctly
1 parent 42575a9 commit ae277ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/API/files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def create_message(subject, recipients, body):
3131
body - The body of the email
3232
'''
3333
parameters = getCurrentParameters()
34-
adminEmail = parameters.staffsupport_id + "@berea.edu"
34+
adminEmail = parameters.staffsupport_id.username + "@berea.edu"
3535
msg = Message(subject,
3636
sender=app.config['MAIL_DEFAULT_SENDER'],
3737
recipients=[recipients],

0 commit comments

Comments
 (0)