przekazanie do sekretów do env - test only

This commit is contained in:
Jakub K 2024-01-22 21:52:48 +01:00
parent 36f0dedc26
commit 9fdf1ea8aa

View File

@ -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,