mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-04-19 11:32:00 +00:00
Fix SMS API configuration to provide default values for missing environment variables
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m57s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m57s
This commit is contained in:
parent
c006525aaa
commit
2431793886
@ -4,8 +4,8 @@ import json
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
api_url = config("SMS_API_URL")
|
||||
api_key = config("SMS_API_KEY")
|
||||
api_url = config("SMS_API_URL", default="")
|
||||
api_key = config("SMS_API_KEY", default="")
|
||||
|
||||
|
||||
def send_otp(mobile: str, otp: int, message: str):
|
||||
|
Loading…
x
Reference in New Issue
Block a user