From 59cb8e1ee8bdf0e81c780311e11ae67549bcef03 Mon Sep 17 00:00:00 2001 From: vikas soni Date: Tue, 18 Feb 2020 23:31:35 +0530 Subject: [PATCH] [fix] remove unnecessary argument: request --- rest_framework_oauth/authentication.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rest_framework_oauth/authentication.py b/rest_framework_oauth/authentication.py index c504ffd..6d5f6a4 100644 --- a/rest_framework_oauth/authentication.py +++ b/rest_framework_oauth/authentication.py @@ -158,9 +158,9 @@ def authenticate(self, request): else: return None - return self.authenticate_credentials(request, access_token) + return self.authenticate_credentials(access_token) - def authenticate_credentials(self, request, access_token): + def authenticate_credentials(self, access_token): """ Authenticate the request, given the access token. """