From 92921d4320ad139fbda399527b7ef05bae709068 Mon Sep 17 00:00:00 2001 From: jamesrperkins <61202642+jamesrperkins@users.noreply.github.com> Date: Tue, 4 May 2021 10:15:54 -0400 Subject: [PATCH] Adding the ability to use environments correctly. We hardcoded the environment to be sandbox only, which causes issues when using development. --- python/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/server.py b/python/server.py index 5aead634..3de40b37 100644 --- a/python/server.py +++ b/python/server.py @@ -81,7 +81,7 @@ def empty_to_none(field): PLAID_REDIRECT_URI = empty_to_none('PLAID_REDIRECT_URI') configuration = plaid.Configuration( - host=plaid.Environment.Sandbox, + host=plaid.Environment[PLAID_ENV], api_key={ 'clientId': PLAID_CLIENT_ID, 'secret': PLAID_SECRET,