From d8cbec15b216f6abf71f31fadb3d3131f18b6955 Mon Sep 17 00:00:00 2001 From: liberty-rising Date: Sun, 14 Jan 2024 18:50:11 +0100 Subject: [PATCH] potential fixes --- backend/routes/user_routes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/routes/user_routes.py b/backend/routes/user_routes.py index cc6a1fa..5d2d6d1 100644 --- a/backend/routes/user_routes.py +++ b/backend/routes/user_routes.py @@ -23,6 +23,7 @@ get_password_hash, verify_password, ) +from settings import SENDGRID_API_KEY, APP_HOST, APP_ENV from utils.email import ( send_password_reset_email_with_sendgrid, send_verification_email_with_sendgrid, @@ -162,6 +163,9 @@ async def reset_password(request: ResetPasswordRequest): async def send_verification_email( request: SendVerificationEmailRequest, background_tasks: BackgroundTasks ): + print( + "APP_ENV", APP_ENV, "APP_HOST", APP_HOST, "SENDGRID_API_KEY", SENDGRID_API_KEY + ) print("Getting user by email") with DatabaseManager() as session: user_manager = UserManager(session)