diff --git a/.env.example b/.env.example index 20b33616..0ded43ef 100644 --- a/.env.example +++ b/.env.example @@ -23,6 +23,7 @@ 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"]} BACKEND_URL=${BACKEND_URL:-http://localhost:8000} +FRONTEND_URL=${FRONTEND_URL:-http://localhost:3040} DEBUG=${DEBUG:-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, )