Skip to content

Commit

Permalink
fix: reslove email notification issues on valid author (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradip-p authored Oct 15, 2024
1 parent 5c86a18 commit 07f8ebf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET:-GOOGLE_CLIENT_SECRET_GOES_HERE}
GOOGLE_LOGIN_REDIRECT_URI=${GOOGLE_LOGIN_REDIRECT_URI:-http://localhost:3040}
SECRET_KEY=${SECRET_KEY:-SUPERSECRETKEY__xxxxxxxyyyyyyyyyzzzzzzz}
EXTRA_CORS_ORIGINS=${EXTRA_CORS_ORIGINS:-["http://localhost:3040"]}
FRONTEND_URL=${FRONTEND_URL:-http://localhost:3040}
DEBUG=${DEBUG:-True}
## SMTP CONFIG ##
SMTP_TLS=${SMTP_TLS:-True}
Expand Down
2 changes: 1 addition & 1 deletion src/backend/app/tasks/task_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ async def new_event(
)
background_tasks.add_task(
send_notification_email,
user_data.email,
author["email_address"],
"Request for mapping",
html_content,
)
Expand Down

0 comments on commit 07f8ebf

Please sign in to comment.