przekazanie do sekretów do env - test only
This commit is contained in:
parent
36f0dedc26
commit
9fdf1ea8aa
@ -91,8 +91,8 @@ class SkillViewset(viewsets.ModelViewSet):
|
|||||||
|
|
||||||
class GetAuthTokenView(APIView):
|
class GetAuthTokenView(APIView):
|
||||||
def post(self, request):
|
def post(self, request):
|
||||||
client_id = settings.OAUTH_CLIENT_ID
|
client_id = settings.REACT_CLIENT_ID
|
||||||
client_secret = settings.OAUTH_CLIENT_SECRET
|
client_secret = settings.REACT_CLIENT_SECRET
|
||||||
data = {
|
data = {
|
||||||
'grant_type': 'client_credentials',
|
'grant_type': 'client_credentials',
|
||||||
'client_id': client_id,
|
'client_id': client_id,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user