upgraded plaid api version and django version

This commit is contained in:
DJ Gillespie 2020-11-25 15:36:37 -07:00
parent 2747a0d543
commit e73e225772
3 changed files with 4 additions and 3 deletions

View File

@ -42,7 +42,8 @@ class Connection(AbstractConnectionClient):
client_id=self.PLAID_CLIENT_ID, client_id=self.PLAID_CLIENT_ID,
secret=self.PLAID_SECRET, secret=self.PLAID_SECRET,
environment=self.PLAID_ENV, 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/' #webhook='https://qrtr-services.herokuapp.com/connection/plaid-webhook/'
) )
public_key = self.credentials.get('public_token') public_key = self.credentials.get('public_token')

View File

@ -18,7 +18,7 @@ class Connection(models.Model):
ConnectionType, ConnectionType,
on_delete=models.CASCADE, on_delete=models.CASCADE,
null=True) null=True)
credentials = jsonfield.JSONField() credentials = models.JSONField()
account = models.ForeignKey(Account, on_delete=models.CASCADE) account = models.ForeignKey(Account, on_delete=models.CASCADE)
def connect(self): def connect(self):

View File

@ -12,7 +12,7 @@ distlib==0.3.0
distro==1.4.0 distro==1.4.0
dj-database-url==0.5.0 dj-database-url==0.5.0
dj-rest-auth==1.1.0 dj-rest-auth==1.1.0
Django==3.0.7 Django==3.1.3
django-allauth==0.42.0 django-allauth==0.42.0
django-cors-headers==3.4.0 django-cors-headers==3.4.0
django-genericrelationview==0.1.1 django-genericrelationview==0.1.1