Skip to content

Commit

Permalink
add default keys in case missing
Browse files Browse the repository at this point in the history
  • Loading branch information
nietoga committed Dec 4, 2024
1 parent bc8b22b commit 7ec5f29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external_services/mail.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import config
from mail.mailjet import MailJetService

MAILJET_API_KEY = config.get("MAILJET_API_KEY")
MAILJET_API_SECRET = config.get("MAILJET_API_SECRET")
MAILJET_API_KEY = config.get("MAILJET_API_KEY") or ""
MAILJET_API_SECRET = config.get("MAILJET_API_SECRET") or ""

mail_service = MailJetService(
api_key=MAILJET_API_KEY,
Expand Down

0 comments on commit 7ec5f29

Please sign in to comment.