From e73e2257720054edd40f79de898c6b2f78c3bd36 Mon Sep 17 00:00:00 2001 From: DJ Gillespie Date: Wed, 25 Nov 2020 15:36:37 -0700 Subject: [PATCH] upgraded plaid api version and django version --- connection/connections/plaid_client.py | 3 ++- connection/models.py | 2 +- requirements.txt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/connection/connections/plaid_client.py b/connection/connections/plaid_client.py index 8180564..214ffba 100755 --- a/connection/connections/plaid_client.py +++ b/connection/connections/plaid_client.py @@ -42,7 +42,8 @@ class Connection(AbstractConnectionClient): client_id=self.PLAID_CLIENT_ID, secret=self.PLAID_SECRET, environment=self.PLAID_ENV, - api_version='2019-05-29', + # api_version='2019-05-29', + api_version='2020-09-14', #webhook='https://qrtr-services.herokuapp.com/connection/plaid-webhook/' ) public_key = self.credentials.get('public_token') diff --git a/connection/models.py b/connection/models.py index a6ea341..ef0be4d 100644 --- a/connection/models.py +++ b/connection/models.py @@ -18,7 +18,7 @@ class Connection(models.Model): ConnectionType, on_delete=models.CASCADE, null=True) - credentials = jsonfield.JSONField() + credentials = models.JSONField() account = models.ForeignKey(Account, on_delete=models.CASCADE) def connect(self): diff --git a/requirements.txt b/requirements.txt index 4f50467..aec9fcb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,7 @@ distlib==0.3.0 distro==1.4.0 dj-database-url==0.5.0 dj-rest-auth==1.1.0 -Django==3.0.7 +Django==3.1.3 django-allauth==0.42.0 django-cors-headers==3.4.0 django-genericrelationview==0.1.1