feat: add customer fields for auto evaluation model
This commit is contained in:
@@ -12,7 +12,7 @@ from core.services.didox import DidoxService
|
||||
|
||||
|
||||
class DidoxCompanyInfoAPIView(GenericAPIView):
|
||||
authentication_classes = []
|
||||
# authentication_classes = []
|
||||
permission_classes = [IsAuthenticated]
|
||||
|
||||
@extend_schema(
|
||||
@@ -44,7 +44,7 @@ class DidoxCompanyInfoAPIView(GenericAPIView):
|
||||
|
||||
if not data:
|
||||
return Response(
|
||||
{"detail": "Didox service unavailable"},
|
||||
{"detail": "Didox service unavailable", "data": data},
|
||||
status=status.HTTP_502_BAD_GATEWAY
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user