From 5b8435fef46cc791b303e3a62c55ca195616e1c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=B9i=20Nguy=E1=BB=85n=20T=E1=BA=A5n=20Sang?= Date: Sun, 11 Feb 2024 20:33:54 +0700 Subject: [PATCH] Update main.py --- account/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account/main.py b/account/main.py index e18a222..e79319d 100644 --- a/account/main.py +++ b/account/main.py @@ -22,7 +22,7 @@ def send_email(subject, from_email, to_email, content): html_content=content) try: - sg = SendGridAPIClient('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') + sg = SendGridAPIClient('API_KEY') response = sg.send(message) print(response.status_code) print(response.body) @@ -171,4 +171,4 @@ def verification(user_id, confirmation_code, confirm_value): if open_button: st.session_state.form_state = True - \ No newline at end of file +