Skip to content

Commit

Permalink
Fix magic link chat template not found
Browse files Browse the repository at this point in the history
  • Loading branch information
wayangalihpratama committed Nov 28, 2024
1 parent adc0584 commit 1160fe7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/routes/user_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
security = HTTPBearer()

webdomain = environ.get("WEBDOMAIN")
MAGIC_LINK_CHAT_TEMPLATE = environ.get("MAGIC_LINK_CHAT_TEMPLATE")
MAGIC_LINK_CHAT_TEMPLATE = environ.get(
"MAGIC_LINK_CHAT_TEMPLATE",
"You can login into Agriconnect by clicking this link: {magic_link}",
)

twilio_client = TwilioClient()

Expand Down

0 comments on commit 1160fe7

Please sign in to comment.