fix: endpoint path fixed
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user