@ -28,7 +28,7 @@ class RegistrationSerializer(serializers.ModelSerializer):
user=user
)
return {
'username': user.username,
'username': user.email,
'access_token': user.access_token,
'refresh_token': token.token
}