swapped out public_key for public_token

This commit is contained in:
DJ Gillespie 2020-09-16 14:02:43 -06:00
parent 5535a6d70d
commit bb44a7e252

View File

@ -41,7 +41,7 @@ class Connection(AbstractConnectionClient):
self.client = plaid.Client(
client_id=self.PLAID_CLIENT_ID,
secret=self.PLAID_SECRET,
public_key=self.PLAID_PUBLIC_KEY,
public_token=self.PLAID_PUBLIC_KEY,
environment=self.PLAID_ENV,
api_version='2019-05-29')
public_key = self.credentials.get('public_token')