diff --git a/.env.example b/.env.example index 19e6f0e1..cc8f03f8 100644 --- a/.env.example +++ b/.env.example @@ -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} diff --git a/src/backend/app/tasks/task_routes.py b/src/backend/app/tasks/task_routes.py index 0839ab08..114f5789 100644 --- a/src/backend/app/tasks/task_routes.py +++ b/src/backend/app/tasks/task_routes.py @@ -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, )