generated from nathanwoodburn/python-webserver-template
fix: Remove line spacing to fix errors
All checks were successful
Build Docker / BuildImage (push) Successful in 50s
All checks were successful
Build Docker / BuildImage (push) Successful in 50s
This commit is contained in:
parent
039a24bc64
commit
a4ce7abfaa
@ -273,8 +273,8 @@ def send_email(email, data):
|
|||||||
headers = {
|
headers = {
|
||||||
"X-FreeScout-API-Key": os.getenv("FREESCOUT_API_KEY"),
|
"X-FreeScout-API-Key": os.getenv("FREESCOUT_API_KEY"),
|
||||||
}
|
}
|
||||||
sender = f"{data['createdBy']['firstName']} {
|
sender = f"{data['createdBy']['firstName']} "
|
||||||
data['createdBy']['lastName']} ({data['createdBy']['email']})"
|
sender += f"{data['createdBy']['lastName']} ({data['createdBy']['email']})"
|
||||||
message = data["_embedded"]["threads"][0]["body"]
|
message = data["_embedded"]["threads"][0]["body"]
|
||||||
|
|
||||||
body = {
|
body = {
|
||||||
|
Loading…
Reference in New Issue
Block a user