providers/oauth2: fix refreshtoken being initialised wrong

This commit is contained in:
Jens Langhammer 2020-09-19 22:23:11 +02:00
parent c0026f3e16
commit 87f44fada4
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class TokenParams:
try:
self.refresh_token = RefreshToken.objects.get(
refresh_token=raw_token, client=self.provider
refresh_token=raw_token, provider=self.provider
)
except RefreshToken.DoesNotExist: