itsmehardawood commited on
Commit
5b5ed2b
·
verified ·
1 Parent(s): a1e00aa

Update App/main.py

Browse files
Files changed (1) hide show
  1. App/main.py +3 -3
App/main.py CHANGED
@@ -41,10 +41,10 @@ print("Current UTC time:", now_utc)
41
 
42
  load_dotenv()
43
 
44
- env_name = os.getenv("PAYPAL_ENVIRONMENT", "sandbox")
45
  creds = dict(
46
- client_id = os.getenv("PAYPAL_CLIENT_ID_sn"),
47
- client_secret = os.getenv("PAYPAL_CLIENT_SECRET_sn"),
48
  )
49
  environment = (
50
  LiveEnvironment(**creds)
 
41
 
42
  load_dotenv()
43
 
44
+ env_name = os.environ.get("PAYPAL_ENVIRONMENT", "sandbox")
45
  creds = dict(
46
+ client_id = os.environ.get("PAYPAL_CLIENT_ID_sn"),
47
+ client_secret = os.environ.get("PAYPAL_CLIENT_SECRET_sn"),
48
  )
49
  environment = (
50
  LiveEnvironment(**creds)