fix: endpoint path fixed

This commit is contained in:
2025-08-07 11:07:59 +05:00
parent e40bced16b
commit 09a418aae9
3 changed files with 3 additions and 6 deletions

View File

@@ -1,9 +1,8 @@
import uuid
from drf_spectacular.utils import extend_schema
from rest_framework.permissions import AllowAny, IsAdminUser, IsAuthenticated # type: ignore
from rest_framework.permissions import AllowAny, IsAdminUser # type: ignore
from rest_framework.viewsets import ModelViewSet # type: ignore
from rest_framework.views import APIView # type: ignore
from rest_framework.generics import GenericAPIView # type: ignore
from core.utils.views import BaseApiViewMixin

View File

@@ -63,9 +63,7 @@ class ContractOwnerAttachedFileApiView(BaseApiViewMixin, GenericAPIView): # typ
permission_classes = [AllowAny]
queryset = ContractOwnerModel.objects.all()
method_permission_classes = {
"delete": [AllowAny]
}
method_permission_classes = {"delete": [AllowAny]}
method_serializer_class = {}
@extend_schema(