Skip to content

Commit

Permalink
Send email to admin when submission is received
Browse files Browse the repository at this point in the history
  • Loading branch information
BenGalewsky committed Jan 12, 2024
1 parent 44ce70f commit e68fe33
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 97 deletions.
2 changes: 1 addition & 1 deletion automate/deploy_mdf_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
globus_auth=globus_auth)

mdf_flow.update_flow(flow_def=minimus_mdf_flow.flow_def(
smtp_send_credentials=smtp_send_credentials,
sender_email=config['sender_email'],
admin_email=config['admin_email'],
flow_permissions=config['flow_permissions'],
description=description,
administered_by=[
Expand Down
3 changes: 2 additions & 1 deletion automate/mdf_dev_flow_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"urn:globus:groups:id:5fc63928-3752-11e8-9c6f-0e00fd09bf20"
],

"sender_email": "[email protected]"
"sender_email": "[email protected]",
"admin_email": "[email protected]"
}
4 changes: 3 additions & 1 deletion automate/mdf_prod_flow_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
"urn:globus:groups:id:5fc63928-3752-11e8-9c6f-0e00fd09bf20"
],

"sender_email": "[email protected]"
"sender_email": "[email protected]",
"admin_email": "[email protected]"

}
Loading

0 comments on commit e68fe33

Please sign in to comment.