diff --git a/api/sms.py b/api/sms.py index c0473c9..008c878 100644 --- a/api/sms.py +++ b/api/sms.py @@ -7,11 +7,6 @@ logger = logging.getLogger(__name__) api_url = str(config("SMS_API_URL", cast=str, default="")) api_key = str(config("SMS_API_KEY", cast=str, default="")) -if not api_url or not api_key: - raise ValueError( - "SMS_API_URL and SMS_API_KEY must be set in the environment variables." - ) - def send_otp(mobile: str, otp: str, message: str): if not api_url or not api_key: