forked from M-Labs/web2019
feat(issue22/server-flask): Removes hard-coded email as we use envvars
This commit is contained in:
parent
42837ec0b2
commit
a8d02b5962
@ -22,8 +22,6 @@ def send_rfq():
|
|||||||
return make_response(resp, 400)
|
return make_response(resp, 400)
|
||||||
|
|
||||||
recipient = current_app.config["MAIL_RECIPIENT"]
|
recipient = current_app.config["MAIL_RECIPIENT"]
|
||||||
if current_app.debug:
|
|
||||||
recipient = "sovanna.xyz@gmail.com"
|
|
||||||
|
|
||||||
msg = Message(
|
msg = Message(
|
||||||
"[ORDER HARDWARE - RFQ from %s]" % payload['email'],
|
"[ORDER HARDWARE - RFQ from %s]" % payload['email'],
|
||||||
|
Loading…
Reference in New Issue
Block a user