fix: comments con companies app fixed

This commit is contained in:
2025-08-07 09:40:08 +05:00
parent d46506cc32
commit 73aa6a6242
3 changed files with 21 additions and 20 deletions

View File

@@ -24,9 +24,9 @@ from core.apps.companies.serializers.folders import (
)
######################################################################
# Crud
######################################################################
###################################################################################
# @view-set | ALL - /company-folders
###################################################################################
@extend_schema(tags=["CompanyFolder"])
class CompanyFolderCrudViewSet(BaseViewSetMixin, ModelViewSet):
queryset = CompanyFolderModel.objects.all()
@@ -48,9 +48,9 @@ class CompanyFolderCrudViewSet(BaseViewSetMixin, ModelViewSet):
}
######################################################################
# /company-folders/<uuid:pk>/contracts
######################################################################
###################################################################################
# @api-view | POST - /company-folders/<uuid:pk>/contracts
###################################################################################
@extend_schema(tags=["CompanyFolder Contracts"])
class ContractFolderApiView(BaseApiViewMixin, GenericAPIView): # type: ignore
queryset = CompanyFolderModel.objects.all()