fix demand authorization

This commit is contained in:
Cayo Puigdefabregas 2023-11-29 11:50:24 +01:00
parent f0bb7182bb
commit c6d0cd2b5b

View file

@ -82,7 +82,7 @@ class Organization(models.Model):
url=self.response_uri.strip("/"),
redirect_uri=settings.RESPONSE_URI
)
auth = (self.my_client_id, self.client_secret)
auth = (self.my_client_id, self.my_client_secret)
return requests.get(url, auth=auth)
def __str__(self):